[swift-users] Ubuntu/Centos docker with swift 3
gerard_iglesias at me.com
Mon Dec 12 09:39:44 CST 2016
Thank you a lot.
> On 12 Dec 2016, at 13:49, Alex Blewitt <alblue at apple.com> wrote:
> On 12 Dec 2016, at 11:06, Gerard Iglesias via swift-users <swift-users at swift.org <mailto:swift-users at swift.org>> wrote:
>> Hi everybody,
>> I would like to know if somebody use Docker with image of Ubuntu or Centos with swift 3 on them to make a working dev environment ?
>> I just start to learn Docker use, which is not hard obviously, but I wonder if we can build a complete development environment with it …
>> Any advices welcome.
> Yes, it's possible to build a Docker image with the necessary binaries installed. You can use a pre-built one from IBM:
> https://github.com/IBM-Swift/swift-ubuntu-docker <https://github.com/IBM-Swift/swift-ubuntu-docker>
> It has more than is strictly necessary to get up and working but you can use it to get going. Alternatively, you can install your own by basing it on the following from Ubuntu 16.04:
> FROM ubuntu:16.04
> RUN apt-get update && apt-get -y install vim wget git clang libicu-dev python2.7-dev libxml2-dev libcurl4-openssl-dev && apt-get clean
> RUN wget --progress=bar:force:noscroll --output-document=- https://swift.org/builds/swift-3.0.1-release/ubuntu1604/swift-3.0.1-RELEASE/swift-3.0.1-RELEASE-ubuntu16.04.tar.gz <https://swift.org/builds/swift-3.0.1-release/ubuntu1604/swift-3.0.1-RELEASE/swift-3.0.1-RELEASE-ubuntu16.04.tar.gz> | tar --strip-components=1 -zxf -
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users