Initial Swift on Docker documentation.

This commit is contained in:
Swizzlr 2017-01-07 09:02:58 +00:00
parent a588bd14a5
commit e4806f7d6c
4 changed files with 56 additions and 0 deletions

7
swift/LICENSE.md Normal file
View File

@ -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
swift/README-short.txt Normal file
View File

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

47
swift/README.md Normal file
View File

@ -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
swift/github-repo Normal file
View File

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