Skip to content

Commit 1ccf23d

Browse files
authored
try copying files again
1 parent 236ea5c commit 1ccf23d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

appendix

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ RUN mandb
3030
RUN rm -rf ${REPO_DIR}/book ${REPO_DIR}/docs
3131

3232
# Copy Desktop files into ${REPO_DIR}/Desktop if they exist. First copy files to tmpbuild
33-
ONBUILD COPY . ${REPO_DIR}/tmpbuild/
34-
ONBUILD RUN if [ -d ${REPO_DIR}/tmpbuild/Desktop ]; then \
33+
ONBUILD COPY . /tmpbuild/
34+
ONBUILD RUN if [ -d /tmpbuild/Desktop ]; then \
3535
mkdir -p ${REPO_DIR}/Desktop && \
36-
cp -r ${REPO_DIR}/tmpbuild/Desktop/* ${REPO_DIR}/Desktop/; \
37-
fi && \
38-
rm -rf ${REPO_DIR}/tmpbuild/
36+
cp -r /tmpbuild/Desktop/* ${REPO_DIR}/Desktop/; \
37+
fi
38+
ONBUILD RUN whoami && rm -rf /tmpbuild
3939

4040
# Revert to default user
4141
USER ${NB_USER}

0 commit comments

Comments
 (0)