Hi there. I'm one of the maintainers of https://github.com/swiftdocker/docker-swift . I've tried w/ the latest (at the time of writing) August 4th Swift 4 develop ubuntu 16.04 image. Importing Foundation and Libdispatch seems to be broken.
I've attached the REPL output but basically the two errors are:
I'm attaching the Dockerfile that I'm using. Note I've commented out the gpg validation in the Dockerfile that we usually do in our image (as requested/recommended by DockerHub for official Docker images) since there aren't new keys available for Swift 4 images yet. Would be great to have that too but can file a separate issue for this if need be
With the Dockerfile saved you can build and run the image by doing the following
At that point you should be in a bash prompt and can start the REPL by typing swift
Happy to explain further and debug further if need be