Merge pull request #3416 from chep6915/master

fix remove file not found error
This commit is contained in:
Shao Yu-Lung (Allen) 2023-07-24 23:20:28 +08:00 committed by GitHub
commit 785d0c968d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1321,7 +1321,7 @@ USER root
# Clean up
RUN apt-get clean && \
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.
ARG PUID=1000

View File

@ -1853,7 +1853,7 @@ USER root
# Clean up
RUN apt-get clean && \
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
WORKDIR /var/www