forked from AI-Planning/pddl-generators
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
61 lines (50 loc) · 1.43 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
51
52
53
54
55
56
57
58
59
60
61
FROM ubuntu:18.04
LABEL maintainer="Hector Palacios ([email protected])"
# Install required packages
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
bash-completion \
ca-certificates \
git \
libseccomp-dev \
python3 \
python3-pip \
python3-venv \
squashfs-tools \
tzdata \
unzip \
vim \
wget \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install --upgrade pip \
&& pip3 install setuptools
RUN dpkg --add-architecture i386
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
build-essential \
file \
time \
libc6-i386 \
gcc-multilib \
g++-multilib \
libstdc++5:i386 \
flex \
bison \
python \
zlib1g-dev \
cmake
# && rm -rf /var/lib/apt/lists/*
# Not sure I need libc6-i386
# g*-multilib is an overkill but will be useful for compiling
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.6 1 && \
/usr/bin/python3 -m pip install --upgrade pip && \
pip3 install numpy z3-solver
# Install OpenJDK-11
RUN apt-get update && \
apt-get install -y openjdk-11-jre-headless && \
apt-get clean;
WORKDIR /mnt/pddl-generators
COPY . .
RUN ./build_all save-logs
# default command to execute when container starts
CMD /bin/bash