Commit 11c99ade authored by Katharine Jarmul's avatar Katharine Jarmul
Browse files

updating for new dockerfile

parent 961cd665
Loading
Loading
Loading
Loading
+11 −14
Changes for Dockerfile: 11 added lines, 14 removed lines.
Original line number Diff line number Diff line
FROM jupyter/minimal-notebook

# Set the working directory
WORKDIR /home/jovyan
USER root
RUN apt-get update
RUN apt-get install -y curl git

#Set the working directory
USER jovyan
WORKDIR /home/jovyan/

# Modules
COPY requirements.txt /home/jovyan/requirements.txt
RUN conda install --yes pip tensorflow==1.8.0
RUN pip install -r /home/jovyan/requirements.txt
RUN conda install tensorflow==1.8.0
RUN git init
COPY .gitmodules /home/jovyan/.gitmodules
RUN git submodule init
RUN git submodule update

# Add files
COPY notebooks /home/jovyan/notebooks
@@ -23,13 +21,12 @@ COPY steal_ml /home/jovyan/steal_ml
RUN mkdir /home/jovyan/.keras
RUN mkdir /home/jovyan/.keras/models
RUN mkdir /home/jovyan/.keras/datasets
RUN apt-get install -y wget
RUN wget https://github.com/fchollet/deep-learning-models/releases/download/v0.2/resnet50_weights_tf_dim_ordering_tf_kernels.h5
RUN wget https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz
RUN mv resnet50_weights_tf_dim_ordering_tf_kernels.h5 /home/jovyan/.keras/models/
RUN mv cifar-10-python.tar.gz /home/jovyan/.keras/models/
RUN cd /home/jovyan/EvadeML-Zoo && git submodule init && git submodule update
RUN cd /home/jovyan/EvadeML-ZOO && mkdir downloads; curl -sL https://github.com/mzweilin/EvadeML-Zoo/releases/download/v0.1/downloads.tar.gz | tar xzv -C downloads
RUN curl https://github.com/fchollet/deep-learning-models/releases/download/v0.2/resnet50_weights_tf_dim_ordering_tf_kernels.h5 --output /home/jovyan/.keras/models/resnet50_weights_tf_dim_ordering_tf_kernels.h5
RUN curl https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz --output /home/jovyan/.keras/datasets/cifar-10-python.tar.gz
RUN git clone https://github.com/kjam/EvadeML-Zoo.git 
RUN cd EvadeML-Zoo && git pull
RUN cd EvadeML-Zoo && git submodule init && git submodule update
RUN cd EvadeML-Zoo && mkdir downloads; curl -sL https://github.com/mzweilin/EvadeML-Zoo/releases/download/v0.1/downloads.tar.gz | tar xzv -C downloads


# Allow user to write to directory
Compare 27e171f8 to c062fbda
Changes for EvadeML-Zoo: 1 added line, 1 removed line.
Original line number Diff line number Diff line
Subproject commit 27e171f8779d2f76fa19897c44e4fa94b6384acd
Subproject commit c062fbda478be2783016cf771df1c85963615aed
+14 −269

File changed.

Preview size limit exceeded, changes collapsed.

+1 −0
Changes for requirements.in: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ cleverhans
foolbox==1.8.0
jupyter
h5py
tensorflow==1.8.0
keras==2.2.0
matplotlib
opencv-python