Bump version
This commit is contained in:
parent
67328423b9
commit
1f4b9248d5
1 changed files with 8 additions and 7 deletions
15
Dockerfile
15
Dockerfile
|
@ -1,22 +1,23 @@
|
||||||
# Stable version of etherpad doesn't support npm 2
|
# Stable version of etherpad doesn't support npm 2
|
||||||
|
|
||||||
FROM node:12
|
FROM node:16
|
||||||
MAINTAINER Glenn Y. Rolland <glenux@glenux.net>
|
MAINTAINER Glenn Y. Rolland <glenux@glenux.net>
|
||||||
|
|
||||||
ENV ETHERPAD_VERSION 1.8.13
|
ENV ETHERPAD_VERSION 1.8.13
|
||||||
|
|
||||||
# RUN = docker run ... + docker commit
|
# RUN = docker run ... + docker commit
|
||||||
RUN apt-get update && \
|
RUN apt-get update \
|
||||||
apt-get install -y curl unzip mariadb-client python netcat && \
|
&& apt-get install -y curl unzip mariadb-client python netcat \
|
||||||
rm -r /var/lib/apt/lists/*
|
&& apt-get clean \
|
||||||
|
&& rm -r /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /opt/
|
WORKDIR /opt/
|
||||||
|
|
||||||
RUN curl -SL \
|
RUN curl -SL \
|
||||||
https://github.com/ether/etherpad-lite/archive/${ETHERPAD_VERSION}.zip \
|
https://github.com/ether/etherpad-lite/archive/${ETHERPAD_VERSION}.zip \
|
||||||
> etherpad.zip && unzip etherpad && \
|
> etherpad.zip && unzip etherpad \
|
||||||
rm etherpad.zip && \
|
&& rm etherpad.zip \
|
||||||
mv etherpad-lite-${ETHERPAD_VERSION} etherpad-lite
|
&& mv etherpad-lite-${ETHERPAD_VERSION} etherpad-lite
|
||||||
|
|
||||||
WORKDIR /opt/etherpad-lite
|
WORKDIR /opt/etherpad-lite
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue