From 5724f4322ce91a22b3626e14b9dae5b643ec5b0e Mon Sep 17 00:00:00 2001 From: Wonderfall <wonderfall@schrodinger.io> Date: Fri, 14 Jul 2017 05:42:12 +0200 Subject: [PATCH] cryptpad: change base image --- cryptpad/Dockerfile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/cryptpad/Dockerfile b/cryptpad/Dockerfile index fb92909..9e092ad 100644 --- a/cryptpad/Dockerfile +++ b/cryptpad/Dockerfile @@ -1,4 +1,4 @@ -FROM node:8-alpine +FROM alpine:3.6 ARG VERSION=1.10.1 @@ -6,7 +6,15 @@ ENV UID=991 GID=991 WORKDIR /cryptpad -RUN apk add --no-cache git tini su-exec ca-certificates libressl tar \ +RUN apk -U add --no-cache \ + git \ + tini \ + su-exec \ + ca-certificates \ + libressl \ + tar \ + nodejs-current \ + nodejs-current-npm \ && wget -qO- https://github.com/xwiki-labs/cryptpad/archive/${VERSION}.tar.gz | tar xz --strip 1 \ && npm install \ && npm install -g bower \