-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
28 lines (23 loc) · 848 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
ARG BASE_CONTAINER=python:3.10-alpine
FROM $BASE_CONTAINER
LABEL author="Dominic Steinhoefel"
USER root
RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
RUN apk update
RUN apk upgrade
RUN apk add python3-dev git bash fish z3 gcc g++ libgcc make clang racket graphviz
RUN wget https://github.com/Clever/csvlint/releases/download/v0.3.0/csvlint-v0.3.0-linux-amd64.tar.gz -O /tmp/csvlint.tar.gz
RUN tar xzf /tmp/csvlint.tar.gz -C /tmp
RUN mv /tmp/csvlint-v0.3.0-linux-amd64/csvlint /usr/bin
RUN adduser -D islearn
USER islearn
WORKDIR /home/islearn
RUN pip install --upgrade pip wheel
RUN git clone https://github.com/rindPHI/islearn.git
WORKDIR /home/islearn/islearn
RUN git pull
RUN git checkout v0.2.13
RUN pip install -e .[dev,test]
RUN pip install isla-solver==0.10.6
WORKDIR /home/islearn
CMD ["fish"]