Skip to content

Commit 156d124

Browse files
lanphanbestlong
authored andcommitted
default user for workspace is laradock, so that owner of log file when running php artisan command doesn't change (laradock#1875)
1 parent afdf266 commit 156d124

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

workspace/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -889,12 +889,12 @@ RUN php -v | head -n 1 | grep -q "PHP ${LARADOCK_PHP_VERSION}."
889889
#--------------------------------------------------------------------------
890890
#
891891

892-
USER root
893-
894892
# Clean up
895893
RUN apt-get clean && \
896894
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
897895
rm /var/log/lastlog /var/log/faillog
898896

897+
USER laradock
898+
899899
# Set default work directory
900900
WORKDIR /var/www

0 commit comments

Comments
 (0)