diff --git a/README.md b/README.md index dae144e..8d5da9e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ # docker-images -Dockerfiles and scripts to build various Docker images I rely on. \ No newline at end of file +> 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 | diff --git a/images/etherpad/Dockerfile b/images/etherpad/Dockerfile new file mode 100644 index 0000000..956e6be --- /dev/null +++ b/images/etherpad/Dockerfile @@ -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" ] diff --git a/images/etherpad/type.txt b/images/etherpad/type.txt new file mode 100644 index 0000000..bdb9670 --- /dev/null +++ b/images/etherpad/type.txt @@ -0,0 +1 @@ +docker