-
Notifications
You must be signed in to change notification settings - Fork 17
/
Dockerfile
51 lines (40 loc) · 1.02 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:openjdk-r/ppa
RUN apt-get update
RUN apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
curl \
golang-go \
libedit-dev \
libxml2-dev \
mit-scheme \
perl \
php \
python \
python-dev \
python-yaml \
racket \
rustc \
snapd \
wget \
erlang \
haskell-platform \
clisp-dev \
cl-quicklisp \
openjdk-11-jre
WORKDIR /tmp
# install swift
RUN curl -sL https://swift.org/builds/swift-4.2.3-release/ubuntu1804/swift-4.2.3-RELEASE/swift-4.2.3-RELEASE-ubuntu18.04.tar.gz | tar -C / --strip 1 -xvzf -
#install dlang
RUN wget http://downloads.dlang.org/releases/2.x/2.085.0/dmd_2.085.0-0_amd64.deb && dpkg -i dmd_2.085.0-0_amd64.deb
WORKDIR /hobbits
COPY parsers/ parsers/
COPY test/ test/
WORKDIR /hobbits
RUN cd parsers && ./build.sh
ENV RUST_BACKTRACE=full
CMD python test/run.py