Skip to content

Instantly share code, notes, and snippets.

@russelljjarvis
Last active February 14, 2023 03:58
Show Gist options
  • Save russelljjarvis/1d9efb7c0fe43ed2abbd020d4d9f572c to your computer and use it in GitHub Desktop.
Save russelljjarvis/1d9efb7c0fe43ed2abbd020d4d9f572c to your computer and use it in GitHub Desktop.
Example of reproducible building
https://github.com/scidash/sciunit/blob/master/docker/Dockerfile
```
FROM jupyter/datascience-notebook
RUN apt-get update && \
apt-get upgrade -y
# Install Python, pip and swig
RUN apt-get install -yq --no-install-recommends python3-dev python3-pip swig gosu nano
RUN python brian2-sims/simulations/stdp.py
ENTRYPOINT /bin/bash
ENTRYPOINT python brian2-sims/simulations/stdp.py
```
@russelljjarvis
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment