Merge branch 'Lednerb-fix-workspace-user-laradock-env'
This commit is contained in:
commit
3a3e58de4c
@ -46,8 +46,12 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
# Add a non-root user to prevent files being created with root permissions on host machine.
|
# Add a non-root user to prevent files being created with root permissions on host machine.
|
||||||
ARG PUID=1000
|
ARG PUID=1000
|
||||||
ARG PGID=1000
|
ARG PGID=1000
|
||||||
RUN groupadd -g $PGID laradock && \
|
|
||||||
useradd -u $PUID -g laradock -m laradock && \
|
ENV PUID ${PUID}
|
||||||
|
ENV PGID ${PGID}
|
||||||
|
|
||||||
|
RUN groupadd -g ${PGID} laradock && \
|
||||||
|
useradd -u ${PUID} -g laradock -m laradock && \
|
||||||
apt-get update -yqq
|
apt-get update -yqq
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -46,8 +46,12 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
# Add a non-root user to prevent files being created with root permissions on host machine.
|
# Add a non-root user to prevent files being created with root permissions on host machine.
|
||||||
ARG PUID=1000
|
ARG PUID=1000
|
||||||
ARG PGID=1000
|
ARG PGID=1000
|
||||||
RUN groupadd -g $PGID laradock && \
|
|
||||||
useradd -u $PUID -g laradock -m laradock && \
|
ENV PUID ${PUID}
|
||||||
|
ENV PGID ${PGID}
|
||||||
|
|
||||||
|
RUN groupadd -g ${PGID} laradock && \
|
||||||
|
useradd -u ${PUID} -g laradock -m laradock && \
|
||||||
apt-get update -yqq
|
apt-get update -yqq
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
@ -46,8 +46,12 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
# Add a non-root user to prevent files being created with root permissions on host machine.
|
# Add a non-root user to prevent files being created with root permissions on host machine.
|
||||||
ARG PUID=1000
|
ARG PUID=1000
|
||||||
ARG PGID=1000
|
ARG PGID=1000
|
||||||
RUN groupadd -g $PGID laradock && \
|
|
||||||
useradd -u $PUID -g laradock -m laradock && \
|
ENV PUID ${PUID}
|
||||||
|
ENV PGID ${PGID}
|
||||||
|
|
||||||
|
RUN groupadd -g ${PGID} laradock && \
|
||||||
|
useradd -u ${PUID} -g laradock -m laradock && \
|
||||||
apt-get update -yqq
|
apt-get update -yqq
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
Loading…
Reference in New Issue
Block a user