default user for workspace is laradock, so that owner of log file when running php artisan command doesn't change (#1875)
This commit is contained in:
parent
afdf2661bd
commit
156d124db0
@ -889,12 +889,12 @@ RUN php -v | head -n 1 | grep -q "PHP ${LARADOCK_PHP_VERSION}."
|
||||
#--------------------------------------------------------------------------
|
||||
#
|
||||
|
||||
USER root
|
||||
|
||||
# Clean up
|
||||
RUN apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
|
||||
rm /var/log/lastlog /var/log/faillog
|
||||
|
||||
USER laradock
|
||||
|
||||
# Set default work directory
|
||||
WORKDIR /var/www
|
||||
|
Loading…
Reference in New Issue
Block a user