diff --git a/Dockerfile b/Dockerfile index fc38762..31bd8bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,5 @@ FROM jupyter/minimal-notebook:python-3.11 -# keep env var name in sync with config_local.yml -ARG PARTICIPANT_BUCKET_READ_SECRET -ENV PARTICIPANT_BUCKET_READ_SECRET=${PARTICIPANT_BUCKET_READ_SECRET} - -RUN if [ -z "$PARTICIPANT_BUCKET_READ_SECRET" ]; \ - then echo "The build arg PARTICIPANT_BUCKET_READ_SECRET must be set to non-zero, e.g. \ -by passing the flag --build-arg PARTICIPANT_BUCKET_READ_SECRET=$PARTICIPANT_BUCKET_READ_SECRET. " &&\ - echo "If running in CI, this variable should have been included as GH secret in the repository settings." &&\ - echo "If you are building locally and the env var is not set, \ -you might find the corresponding value inside config.yml under the 'secret' key." &&\ - exit 1; \ - fi - USER root # pandoc needed for docs, see https://nbsphinx.readthedocs.io/en/0.7.1/installation.html?highlight=pandoc#pandoc