-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·36 lines (28 loc) · 951 Bytes
/
Dockerfile
File metadata and controls
executable file
·36 lines (28 loc) · 951 Bytes
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
FROM ubuntu:20.04
LABEL authors="Maja Franz <maja.franz@othr.de>, Manuel Schoenberger <manuel.schoenberger@othr.de>"
ENV DEBIAN_FRONTEND noninteractive
ENV LANG="C.UTF-8"
ENV LC_ALL="C.UTF-8"
# Install required packages
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
texlive-latex-base \
texlive-science \
texlive-fonts-recommended \
texlive-publishers \
texlive-bibtex-extra \
biber
# Add user
RUN useradd -m -G sudo -s /bin/bash repro && echo "repro:repro" | chpasswd
RUN usermod -a -G staff repro
USER repro
# Add artifacts (from host) to home directory
ADD --chown=repro:repro . /home/repro/qsa-repro
WORKDIR /home/repro/qsa-repro
# install python packages
ENV PATH $PATH:/home/repro/.local/bin
RUN pip3 install -r requirements.txt
# Run all RL and MQO experiments and generate paper when container is started
ENTRYPOINT ["./scripts/run.sh"]
CMD ["bash"]