skip remove file not found error
skip remove file not found error
This commit is contained in:
parent
d6c9cc27dd
commit
76534d0016
@ -1311,7 +1311,7 @@ USER root
|
|||||||
# Clean up
|
# Clean up
|
||||||
RUN apt-get clean && \
|
RUN apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
|
||||||
rm /var/log/lastlog /var/log/faillog
|
rm -f /var/log/lastlog /var/log/faillog
|
||||||
|
|
||||||
# Configure non-root user.
|
# Configure non-root user.
|
||||||
ARG PUID=1000
|
ARG PUID=1000
|
||||||
|
@ -1838,7 +1838,7 @@ USER root
|
|||||||
# Clean up
|
# Clean up
|
||||||
RUN apt-get clean && \
|
RUN apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
|
||||||
rm /var/log/lastlog /var/log/faillog
|
rm -f /var/log/lastlog /var/log/faillog
|
||||||
|
|
||||||
# Set default work directory
|
# Set default work directory
|
||||||
WORKDIR /var/www
|
WORKDIR /var/www
|
||||||
|
Loading…
Reference in New Issue
Block a user