From 1f4b9248d53150d993e6797b154ba9679d52f291 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Thu, 16 Sep 2021 11:46:17 +0200 Subject: [PATCH] Bump version --- Dockerfile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 45aba11..9bbdbac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,22 +1,23 @@ # Stable version of etherpad doesn't support npm 2 -FROM node:12 +FROM node:16 MAINTAINER Glenn Y. Rolland ENV ETHERPAD_VERSION 1.8.13 # RUN = docker run ... + docker commit -RUN apt-get update && \ - apt-get install -y curl unzip mariadb-client python netcat && \ - rm -r /var/lib/apt/lists/* +RUN apt-get update \ + && apt-get install -y curl unzip mariadb-client python netcat \ + && apt-get clean \ + && rm -r /var/lib/apt/lists/* WORKDIR /opt/ RUN curl -SL \ https://github.com/ether/etherpad-lite/archive/${ETHERPAD_VERSION}.zip \ - > etherpad.zip && unzip etherpad && \ - rm etherpad.zip && \ - mv etherpad-lite-${ETHERPAD_VERSION} etherpad-lite + > etherpad.zip && unzip etherpad \ + && rm etherpad.zip \ + && mv etherpad-lite-${ETHERPAD_VERSION} etherpad-lite WORKDIR /opt/etherpad-lite