Update the ensodev user ID for docker (#1681)

This commit is contained in:
Łukasz Olczak 2021-04-15 12:15:17 +02:00 committed by GitHub
parent fa4775fe58
commit 17c6653206
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,22 +4,21 @@ USER root
ENV LOG_LEVEL=INFO
RUN groupadd -g 1001 enso
RUN useradd --system --create-home --uid 1001 --gid 1001 enso
RUN useradd -u 2000 -c 'Enso Developer' -U -M ensodev
ADD bin /opt/enso/bin
ADD component /opt/enso/component
ADD std-lib /opt/enso/std-lib
RUN chown -hR enso:enso /opt/enso
RUN chown -hR ensodev:ensodev /opt/enso
RUN chmod -R u=rX,g=rX /opt/enso
RUN chmod a+x /opt/enso/bin/*
RUN mkdir -p /volumes
RUN chown -hR enso:enso /volumes
RUN chown -hR ensodev:ensodev /volumes
RUN chmod -R u=rwX,g=rwX /volumes
USER enso:enso
USER ensodev:ensodev
WORKDIR /opt/enso