Add container image for etherpad

This commit is contained in:
Starbeamrainbowlabs 2020-09-26 14:56:36 +01:00
parent 254a5f0fb7
commit 8668763487
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
3 changed files with 31 additions and 1 deletions

View File

@ -1,3 +1,12 @@
# docker-images
Dockerfiles and scripts to build various Docker images I rely on.
> Dockerfiles and scripts to build various Docker images I rely on.
## Docker container UID/GID map
UID | GID | Container | Notes
--------|-------|-----------------------|-----------------
50 | 995 | image-wrangler | 995 = docker group
60 | 60 | minetest-mapserver
70 | 70 | etherpad |

View File

@ -0,0 +1,20 @@
ARG REPO_LOCATION
# ARG BASE_VERSION
FROM ${REPO_LOCATION}minideb-node AS builder
RUN install_packages git
RUN git clone --branch master https://github.com/ether/etherpad-lite.git /srv/etherpad
RUN cd /srv && npm install
###############################################################################
FROM ${REPO_LOCATION}minideb-node
RUN mkdir /srv
COPY --from=builder /srv/etherpad /srv/etherpad
WORKDIR /srv/etherpad
ENTRYPOINT [ "/bin/sh" "/srv/etherpad/bin/run.sh" ]

1
images/etherpad/type.txt Normal file
View File

@ -0,0 +1 @@
docker