CI_ENVIRONMENT variable
This commit is contained in:
@@ -48,6 +48,11 @@ COPY / /var/www/html/
|
||||
# so when we execute CLI commands, all the host file's ownership remains intact
|
||||
# otherwise command from inside container will create root-owned files and directories
|
||||
ARG uid=1000
|
||||
|
||||
ARG CI_ENVIRONMENT
|
||||
|
||||
ENV CI_ENVIRONMENT=$CI_ENVIRONMENT
|
||||
|
||||
RUN useradd -G www-data,root -u $uid -d /home/devuser devuser
|
||||
RUN mkdir -p /home/devuser/.composer && \
|
||||
chown -R devuser:devuser /home/devuser
|
||||
|
||||
Reference in New Issue
Block a user