File tree 2 files changed +38
-0
lines changed
2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Testing containers locally
2
+
3
+ Use the ` run.sh ` from ` src/ci/docker ` .
4
+ The ` src/ci/run.sh ` is used inside the container.
5
+
6
+ ```
7
+ ./run.sh x86_64-gnu-grammartest
8
+ ```
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:16.10
2
+
3
+ RUN apt-get update && apt-get install -y --no-install-recommends \
4
+ g++ \
5
+ make \
6
+ file \
7
+ curl \
8
+ ca-certificates \
9
+ python \
10
+ git \
11
+ cmake \
12
+ ccache \
13
+ sudo \
14
+ gdb \
15
+ llvm-3.9-tools \
16
+ libedit-dev \
17
+ zlib1g-dev \
18
+ antlr4 \
19
+ bison \
20
+ flex \
21
+ openjdk-8-jdk-headless
22
+
23
+ RUN cd /usr/local/lib && curl http://www.antlr.org/download/antlr-4.5.3-complete.jar -o antlr-complete.jar
24
+
25
+ ENV RUST_CONFIGURE_ARGS \
26
+ --build=x86_64-unknown-linux-gnu \
27
+ --llvm-root=/usr/lib/llvm-3.9
28
+ ENV RUST_CHECK_TARGET check-grammar
29
+ RUN mkdir /tmp/obj
30
+ RUN chmod 777 /tmp/obj
You can’t perform that action at this time.
0 commit comments