-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdockerfile
33 lines (26 loc) · 895 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
33
FROM ubuntu:latest
RUN apt clean
# Update aptitude with new repo
RUN apt-get update && \
apt-get install -y --no-install-recommends \
git python3 python3-pip nvidia-cuda-toolkit \
nvidia-cuda-toolkit-gcc \
gnupg2 \
curl \
ca-certificates \
ssh && \
rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade --break-system-packages pip && pip install --break-system-packages poetry
RUN mkdir /root/.ssh/ && \
ssh-keyscan github.com >> /root/.ssh/known_hosts && \
git clone https://github.com/aai-institute/VeriFlow.git
WORKDIR /VeriFlow
# TODO delete before merging!
RUN git checkout dockerize-experiments
RUN poetry install
# Expose port for TensorBoard
EXPOSE 6006
# TODO: change to start.sh
RUN chmod a+rwx start_test.sh
CMD ["./start_test.sh"]
#CMD ["poetry", "run", "python", "scripts/run-eperiment.py", "--config", "experiments/mnist/mnist.yaml"]