etherpad: Fix perms
This commit is contained in:
parent
8668763487
commit
5a4d2e32d9
2 changed files with 4 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
UID | GID | Container | Notes
|
UID | GID | Container | Notes
|
||||||
--------|-------|-----------------------|-----------------
|
--------|-------|-----------------------|-----------------
|
||||||
|
3 | 3 | docker-registry-ui |
|
||||||
50 | 995 | image-wrangler | 995 = docker group
|
50 | 995 | image-wrangler | 995 = docker group
|
||||||
60 | 60 | minetest-mapserver
|
60 | 60 | minetest-mapserver |
|
||||||
70 | 70 | etherpad |
|
70 | 70 | etherpad |
|
||||||
|
|
|
@ -7,7 +7,7 @@ RUN install_packages git
|
||||||
|
|
||||||
RUN git clone --branch master https://github.com/ether/etherpad-lite.git /srv/etherpad
|
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
|
RUN mkdir /srv
|
||||||
COPY --from=builder /srv/etherpad /srv/etherpad
|
COPY --from=builder /srv/etherpad /srv/etherpad
|
||||||
|
USER 70:70
|
||||||
|
|
||||||
WORKDIR /srv/etherpad
|
WORKDIR /srv/etherpad
|
||||||
ENTRYPOINT [ "/bin/sh" "/srv/etherpad/bin/run.sh" ]
|
ENTRYPOINT [ "/bin/sh" "/srv/etherpad/bin/run.sh" ]
|
||||||
|
|
Loading…
Reference in a new issue