We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ccf23d commit eca6c66Copy full SHA for eca6c66
appendix
@@ -30,12 +30,14 @@ RUN mandb
30
RUN rm -rf ${REPO_DIR}/book ${REPO_DIR}/docs
31
32
# Copy Desktop files into ${REPO_DIR}/Desktop if they exist. First copy files to tmpbuild
33
+ONBUILD USER root
34
ONBUILD COPY . /tmpbuild/
35
ONBUILD RUN if [ -d /tmpbuild/Desktop ]; then \
36
mkdir -p ${REPO_DIR}/Desktop && \
37
cp -r /tmpbuild/Desktop/* ${REPO_DIR}/Desktop/; \
38
fi
39
ONBUILD RUN whoami && rm -rf /tmpbuild
40
+ONBUILD USER ${NB_USER}
41
42
# Revert to default user
43
USER ${NB_USER}
0 commit comments