Skip to content

Commit

Permalink
remove participant secret from build
Browse files Browse the repository at this point in the history
  • Loading branch information
fariedabuzaid committed Feb 9, 2024
1 parent 03ba709 commit 7bec132
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 7bec132

Please sign in to comment.