Add container image for etherpad
This commit is contained in:
parent
254a5f0fb7
commit
8668763487
3 changed files with 31 additions and 1 deletions
11
README.md
11
README.md
|
@ -1,3 +1,12 @@
|
||||||
# docker-images
|
# 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 |
|
||||||
|
|
20
images/etherpad/Dockerfile
Normal file
20
images/etherpad/Dockerfile
Normal 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
1
images/etherpad/type.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
docker
|
Loading…
Reference in a new issue