-
Notifications
You must be signed in to change notification settings - Fork 23
/
Dockerfile
37 lines (27 loc) · 908 Bytes
/
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
ARG Z3_VERSION
ARG K_COMMIT
ARG Z3_VERSION=4.12.1
FROM runtimeverificationinc/z3:ubuntu-jammy-${Z3_VERSION} as Z3
ARG K_COMMIT
FROM runtimeverificationinc/kframework-k:ubuntu-jammy-${K_COMMIT}
COPY --from=Z3 /usr/bin/z3 /usr/bin/z3
RUN apt-get update \
&& apt-get upgrade --yes \
&& apt-get install --yes \
cmake \
curl \
pandoc \
python3 \
python3-pip \
wabt
ARG USER_ID=1000
ARG GROUP_ID=1000
RUN groupadd -g $GROUP_ID user && useradd -m -u $USER_ID -s /bin/sh -g user user
USER user:user
WORKDIR /home/user
RUN curl -sSL https://install.python-poetry.org | python3 -
RUN pip3 install --user \
cytoolz \
numpy
ENV PATH=/home/user/.local/bin:$PATH
RUN poetry --version