Yes, it's possible to build a Docker image with the necessary binaries installed. You can use a pre-built one from IBM:
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
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
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
Yes, if you want to run the repl or lldb then you either need --privileged or --security-opt seccomp:unconfined and --cap-add SYS_PTRACE.
You might also want to specify --rm which will remove your containers runtime image afterwards, as otherwise you will end up with many nearly identical copies of your container on disk.
Alex
···
Sent from my iPhone
On 12 Dec 2016, at 22:32, Gerard Iglesias <gerard_iglesias@me.com> wrote:
Hello,
Something important to note, i have created an image from scratch installing emacs in place of vim.
But to get swift working we have to run the image with privilege access like this