Commit 156d124d authored by Lan Phan's avatar Lan Phan Committed by Shao Yu-Lung (Allen)

default user for workspace is laradock, so that owner of log file when running...

default user for workspace is laradock, so that owner of log file when running php artisan command doesn't change (#1875)
parent afdf2661
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment