Browse Source

Initial Swift on Docker documentation.

Swizzlr 8 years ago
parent
commit
e4806f7d6c
4 changed files with 56 additions and 0 deletions
  1. 7 0
      swift/LICENSE.md
  2. 1 0
      swift/README-short.txt
  3. 47 0
      swift/README.md
  4. 1 0
      swift/github-repo

+ 7 - 0
swift/LICENSE.md

@@ -0,0 +1,7 @@
+Copyright (C) 2017 by Swiftdocker maintainers/contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 1 - 0
swift/README-short.txt

@@ -0,0 +1 @@
+Swift is a general-purpose programming language using a modern approach to safety and performance. 

+ 47 - 0
swift/README.md

@@ -0,0 +1,47 @@
+# docker-swift
+
+![swift](https://raw.githubusercontent.com/hamin/EventSource.Swift/master/swift-logo.png)
+
+[![Build Status](https://api.shippable.com/projects/58663bf6f6c7101000c4038f/badge?branchName=master)](https://app.shippable.com/projects/58663bf6f6c7101000c4038f/builds/latest)
+
+### An Ubuntu 16.04 Docker image for [Swift](https://swift.org).
+
+#### You can find the Docker Hub repo here: [https://hub.docker.com/r/swiftdocker/swift/](https://hub.docker.com/r/swiftdocker/swift/)
+
+
+### Docker Instructions
+
+##### Pull the Docker Image From Docker Hub:
+
+```bash
+docker pull swiftdocker/swift
+```
+
+##### Create a Container from the Image and Attach It:
+
+```bash
+docker run  -it --name swiftfun swiftdocker/swift:latest /bin/bash
+```
+
+##### To Start and Attach Your Image Later:
+
+Start your image with name `swiftfun`
+
+```bash
+docker start swiftfun
+```
+
+and then attach it
+
+```bash
+docker attach swiftfun
+```
+
+
+## Contributions
+
+Contributions via pull requests are welcome and encouraged :)
+
+## License
+
+docker-swift is licensed under the [MIT License.](LICENSE.md)

+ 1 - 0
swift/github-repo

@@ -0,0 +1 @@
+https://github.com/swiftdocker/docker-swift