Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions testing/docker/jupyter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,11 @@ COPY jupyter.txt .
RUN jupyter notebook --generate-config && cat jupyter.txt >> .jupyter/jupyter_notebook_config.py && rm jupyter.txt

# Clone the repositories
RUN git clone https://github.com/opendifferentialprivacy/smartnoise-core-python.git --recurse-submodules
RUN git clone https://github.com/opendifferentialprivacy/smartnoise-sdk.git
RUN git clone https://github.com/opendifferentialprivacy/smartnoise-samples.git
RUN git clone https://github.com/opendifferentialprivacy/dp-test-datasets.git

# Install Core, Python Bindings, and System
RUN cd smartnoise-core-python && \
conda run pip install -U setuptools && \
conda run pip install -e ".[test,plotting]" && \
cd ..

RUN cd smartnoise-sdk && \
conda run pip install -r service/requirements.txt && \
conda run pip install -r tests/requirements.txt && \
conda run pip install -e sdk/ && \
cd ..
RUN conda run pip install opendp-smartnoise-core opendp-smartnoise

ENTRYPOINT ["jupyter", "notebook"]

Expand Down
5 changes: 5 additions & 0 deletions testing/docker/jupyter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ bash:

clean:
docker system prune -a

publish:
docker tag privacy:smartnoise opendp/smartnoise:privacy
docker login
docker push opendp/smartnoise:privacy