|
| 1 | +FROM ubuntu:16.04 |
| 2 | + |
| 3 | +MAINTAINER Tamas Koczka < [email protected]> |
| 4 | + |
| 5 | +RUN apt-get update |
| 6 | +RUN apt-get install -qqy python |
| 7 | +RUN apt-get install -qqy ruby |
| 8 | +RUN apt-get install -qqy php |
| 9 | +RUN apt-get install -qqy perl |
| 10 | +RUN apt-get install -qqy default-jdk |
| 11 | +RUN apt-get install -qqy maven |
| 12 | +RUN apt-get install -qqy mono-mcs |
| 13 | +RUN apt-get install -qqy golang-go |
| 14 | +RUN apt-get install -qqy nano |
| 15 | +RUN apt-get install -qqy clang libicu-dev |
| 16 | +RUN apt-get install -qqy wget |
| 17 | + |
| 18 | +RUN wget https://swift.org/builds/swift-4.0-release/ubuntu1604/swift-4.0-RELEASE/swift-4.0-RELEASE-ubuntu16.04.tar.gz |
| 19 | +RUN tar xzf swift-4.0-RELEASE-ubuntu16.04.tar.gz -C / |
| 20 | +ENV PATH="/swift-4.0-RELEASE-ubuntu16.04/usr/bin:${PATH}" |
| 21 | +RUN rm swift-4.0-RELEASE-ubuntu16.04.tar.gz |
| 22 | + |
| 23 | +ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 |
| 24 | +RUN apt-get install -qqy apt-transport-https && \ |
| 25 | + wget -O - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/microsoft.gpg && \ |
| 26 | + sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list' && \ |
| 27 | + apt-get update && \ |
| 28 | + apt-get install -qqy dotnet-sdk-2.1.3 |
| 29 | + |
| 30 | +RUN wget -O - https://deb.nodesource.com/setup_8.x | bash - && \ |
| 31 | + apt-get install -qqy nodejs |
| 32 | + |
| 33 | +RUN mkdir /one |
| 34 | +WORKDIR /one |
| 35 | +COPY compile.sh compiler_backend.py package.json package-lock.json ./ |
| 36 | +COPY InMemoryCompilers ./InMemoryCompilers |
| 37 | + |
| 38 | +RUN ./compile.sh |
| 39 | + |
| 40 | +EXPOSE 11111 |
| 41 | + |
| 42 | +CMD ["./compiler_backend.py"] |
0 commit comments