Merge pull request #3416 from chep6915/master
fix remove file not found error
This commit is contained in:
commit
785d0c968d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user