Commit f3925f79 authored by Eszter Schoell's avatar Eszter Schoell
Browse files

first pass

parent f177d52c
Loading
Loading
Loading
Loading
+10 −13
Changes for Dockerfile: 10 added lines, 13 removed lines.
Original line number Diff line number Diff line
FROM jupyter/minimal-notebook

# launchbot-specific labels
LABEL name.launchbot.io="Applied Cryptography with Python"
LABEL workdir.launchbot.io="/home/jovyan"
LABEL description.launchbot.io="Applied Cryptography with Python"
LABEL 8888.port.launchbot.io="Start Tutorial"
FROM jupyter/minimal-notebook:abdb27a6dfbb

#Set the working directory
WORKDIR /home/jovyan/

# Add files
COPY include /home/jovyan/notebooks/include
COPY *.ipynb /home/jovyan/notebooks/
COPY private_key.der /home/jovyan/notebooks/
COPY private_key.pem /home/jovyan/notebooks/
COPY public_key.der /home/jovyan/notebooks/
COPY notebooks/include /home/jovyan/notebooks/include
COPY notebooks/*.ipynb /home/jovyan/notebooks/
COPY notebooks/private_key.der /home/jovyan/notebooks/
COPY notebooks/private_key.pem /home/jovyan/notebooks/
COPY notebooks/public_key.der /home/jovyan/notebooks/
COPY solutions/ /home/jovyan/solutions
COPY requirements.txt /

# Modules
RUN pip install cryptography
RUN pip install -r /requirements.txt && \
    rm -fR /home/jovyan/work

# Allow user to write to directory
USER root
+1 −1
Changes for create_jh/Dockerfile: 1 added line, 1 removed line.
Original line number Diff line number Diff line
FROM us.gcr.io/jupyterhub-170614/<series_id>:<single user version>
FROM us.gcr.io/jupyterhub-170614/0636920267195:v0.1

USER root

+1 −0
Changes for requirements.txt: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
## Please list additional packages with version numbers
cryptography==2.6.1