diff --git a/README.md b/README.md index 8d5da9e..cfa9076 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ UID | GID | Container | Notes --------|-------|-----------------------|----------------- +3 | 3 | docker-registry-ui | 50 | 995 | image-wrangler | 995 = docker group -60 | 60 | minetest-mapserver +60 | 60 | minetest-mapserver | 70 | 70 | etherpad | diff --git a/images/etherpad/Dockerfile b/images/etherpad/Dockerfile index 956e6be..59edd1c 100644 --- a/images/etherpad/Dockerfile +++ b/images/etherpad/Dockerfile @@ -7,7 +7,7 @@ RUN install_packages git RUN git clone --branch master https://github.com/ether/etherpad-lite.git /srv/etherpad -RUN cd /srv && npm install +RUN cd /srv/etherpad && npm install && chown -R 70:70 /srv/etherpad ############################################################################### @@ -15,6 +15,7 @@ FROM ${REPO_LOCATION}minideb-node RUN mkdir /srv COPY --from=builder /srv/etherpad /srv/etherpad +USER 70:70 WORKDIR /srv/etherpad ENTRYPOINT [ "/bin/sh" "/srv/etherpad/bin/run.sh" ]