-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathDockerfile
32 lines (26 loc) · 941 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
FROM mistzzt/haskell-ide-engine:0.11-ghc8.4.4
# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Configure apt and install packages
RUN apt-get update && apt-get upgrade -y
RUN apt-get -y install --no-install-recommends apt-utils 2>&1 \
#
# Verify git, process tools, lsb-release (common in install instructions for CLIs) installed
&& apt-get -y install git procps lsb-release \
&& apt-get -y install curl wget screen build-essential \
&& apt-get -y install python make
# Install z3 Prover
RUN git clone --branch z3-4.7.1 https://github.com/Z3Prover/z3.git \
&& cd z3 \
&& python scripts/mk_make.py \
&& cd build \
&& make \
&& make install
# Clean z3 build files
RUN rm -rf /z3
# Clean up
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
# Switch back to dialog for any ad-hoc use of apt-get
ENV DEBIAN_FRONTEND=dialog