-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
34 lines (22 loc) · 938 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 tensorflow/tensorflow:2.8.3-gpu-jupyter
RUN apt-get update && apt-get install -qq -y \
build-essential wget --no-install-recommends
ENV INSTALL_PATH /anonym
ENV PYTHONPATH="$PYTHONPATH:$INSTALL_PATH"
WORKDIR $INSTALL_PATH
RUN pip install --upgrade pip
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY mondrian mondrian
COPY anonymcmp_utils anonymcmp_utils
RUN wget https://github.com/IBM/differential-privacy-library/archive/refs/tags/0.6.2.tar.gz \
&& tar zxvpf 0.6.2.tar.gz --strip-components=1 && rm 0.6.2.tar.gz
RUN wget https://github.com/tensorflow/privacy/archive/refs/tags/v0.8.5.tar.gz \
&& tar zxvpf v0.8.5.tar.gz --strip-components=1 && rm v0.8.5.tar.gz
ENV NOTEBOOKS_PATH /tf/dev/notebooks
COPY notebooks $NOTEBOOKS_PATH
RUN mkdir -p $NOTEBOOKS_PATH/datasets
WORKDIR $NOTEBOOKS_PATH
ENV TESTS_PATH /tf/dev/tests
COPY tests/*.py $TESTS_PATH/
RUN mkdir -p $TESTS_PATH/datasets