-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (23 loc) · 770 Bytes
/
Dockerfile
File metadata and controls
31 lines (23 loc) · 770 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
FROM rocker/r-ver:4.1.3
LABEL authors="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 \
wget \
python3.8 \
python3-pip
# 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/vldb24-reproduction
WORKDIR /home/repro/vldb24-reproduction
# install python packages
ENV PATH $PATH:/home/repro/.local/bin
RUN pip3 install -r requirements.txt
RUN pip3 install -U Software/dadk_light_3.8.tar.bz2
ENTRYPOINT ["./scripts/run.sh"]
CMD ["bash"]