Skip to content

Commit 27cc0a5

Browse files
authored
Update appendix
1 parent 3c411f3 commit 27cc0a5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: appendix

+2-4
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@ RUN mandb
3030
RUN rm -rf ${REPO_DIR}/book ${REPO_DIR}/docs
3131

3232
# Set up behavior for child dockerfiles
33-
# Define NB_USER since that is not exported by the parent dockerfile (py-rocket-base)
34-
# This works because py-rocket-base sets user to NB_USER
35-
ONBUILD RUN export NB_USER=$(whoami)
36-
ONBUILD ENV NB_USER=${NB_USER}
33+
# Convert NB_USER to ENV (from ARG) so that it passes to the child dockerfile
34+
ENV NB_USER=${NB_USER}
3735

3836
ONBUILD USER root
3937
ONBUILD COPY . /tmpbuild/

0 commit comments

Comments
 (0)