<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>That's a great question. We're satisfied that the 400MB image size isn't _too_ onerous for the majority of users - especially since one of the benefits of Docker is that per host, that 400MB will only be used once (copy on write FS) - but there can never be enough done.</div><div><br></div><div>We have an issue open that addresses this exact topic: <a href="https://github.com/swiftdocker/docker-swift/issues/48">https://github.com/swiftdocker/docker-swift/issues/48</a>. Of particular interest is how to export a Swift binary that is statically linked; perhaps a base image containing the Swift runtime support libs (ICU, Foundation, Core etc) would be ideal.</div><div><br></div><div>In case I haven't covered every base: the final benefit is a reproducible development environment, one that is the same on our machines and the server.</div><div><br></div><div>Tom</div><div><br><div>Sent from my iPhone</div></div><div><br>On 22 Jan 2017, at 19:47, Helge Heß via swift-server-dev <<a href="mailto:swift-server-dev@swift.org">swift-server-dev@swift.org</a>> wrote:<br><br></div><blockquote type="cite"><div><span>Hi,</span><br><span></span><br><span>someone told me about this too. I don’t want to lower the work involved in that, but I suppose I just don’t understand what this is about. What does 'Dockerizing Swift’ mean? Isn’t that just</span><br><span></span><br><span> wget <swift-tarball></span><br><span> tar zxf <swift-tarball></span><br><span> export PATH=$PATH:swift-tarball</span><br><span></span><br><span>? Or does it anything extra?</span><br><span></span><br><span>I think something which would be really helpful is a docker setup that is separating the build and the deployment step. That is, if I deploy a Swift Server app the last thing I want is to ship Swift llvm or clang, etc, but just the app and the runtime. Is someone working on something like that already?</span><br><span></span><br><span>hh</span><br><span></span><br><blockquote type="cite"><span>On 22 Jan 2017, at 19:18, Swizzlr via swift-server-dev <<a href="mailto:swift-server-dev@swift.org">swift-server-dev@swift.org</a>> wrote:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>In case any you aren't/weren't subscribed to the Swift Users list. Link to thread: <a href="https://lists.swift.org/pipermail/swift-users/Week-of-Mon-20170116/004470.html">https://lists.swift.org/pipermail/swift-users/Week-of-Mon-20170116/004470.html</a></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Sent from my iPhone</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Begin forwarded message:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>From: Swizzlr <<a href="mailto:me@swizzlr.co">me@swizzlr.co</a>></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Date: 21 January 2017 at 22:10:59 GMT</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>To: swift-users <<a href="mailto:swift-users@swift.org">swift-users@swift.org</a>></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Subject: Announcement: Official Docker Image for Swift now available</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Hello all,</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>I'm pleased to announce that with the assistance of many, many people (see below), we have released an “official" Docker image for Swift. </span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>The image contains everything needed to compile and run a Swift application, reliably and reproducibly. It’s based on Ubuntu 16.04 and has been used in production for many months now. A Docker library image such as this one occupies the top level namespace, so that you can simply write “FROM swift” to refer to the image. It has received extensive auditing for best practices and security by Docker experts, and will be maintained by a dedicated team of volunteers.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>I would like to encourage everyone interested to ask questions and offer improvements over on the Github repo. Personally, I want to offer my thanks to Haris Amin and Oliver Letterer for their early and pioneering work on Dockerizing Swift, Tianon Gravi for his patient and informative feedback while refining the image; and all those who have contributed to its development.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Happy coding – I hope you make something excellent with this.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Tom</span><br></blockquote></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>swift-server-dev mailing list</span><br></blockquote><blockquote type="cite"><span><a href="mailto:swift-server-dev@swift.org">swift-server-dev@swift.org</a></span><br></blockquote><blockquote type="cite"><span><a href="https://lists.swift.org/mailman/listinfo/swift-server-dev">https://lists.swift.org/mailman/listinfo/swift-server-dev</a></span><br></blockquote><span></span><br><span>_______________________________________________</span><br><span>swift-server-dev mailing list</span><br><span><a href="mailto:swift-server-dev@swift.org">swift-server-dev@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-server-dev">https://lists.swift.org/mailman/listinfo/swift-server-dev</a></span><br></div></blockquote></body></html>