skip remove file not found error

skip remove file not found error
This commit is contained in:
Rex 2023-07-14 21:13:49 -04:00
parent d6c9cc27dd
commit 76534d0016
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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