Skip to content

Commit 7bec132

Browse files
committed
remove participant secret from build
1 parent 03ba709 commit 7bec132

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Dockerfile

-13
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
FROM jupyter/minimal-notebook:python-3.11
22

3-
# keep env var name in sync with config_local.yml
4-
ARG PARTICIPANT_BUCKET_READ_SECRET
5-
ENV PARTICIPANT_BUCKET_READ_SECRET=${PARTICIPANT_BUCKET_READ_SECRET}
6-
7-
RUN if [ -z "$PARTICIPANT_BUCKET_READ_SECRET" ]; \
8-
then echo "The build arg PARTICIPANT_BUCKET_READ_SECRET must be set to non-zero, e.g. \
9-
by passing the flag --build-arg PARTICIPANT_BUCKET_READ_SECRET=$PARTICIPANT_BUCKET_READ_SECRET. " &&\
10-
echo "If running in CI, this variable should have been included as GH secret in the repository settings." &&\
11-
echo "If you are building locally and the env var is not set, \
12-
you might find the corresponding value inside config.yml under the 'secret' key." &&\
13-
exit 1; \
14-
fi
15-
163
USER root
174

185
# pandoc needed for docs, see https://nbsphinx.readthedocs.io/en/0.7.1/installation.html?highlight=pandoc#pandoc

0 commit comments

Comments
 (0)