1
0
mirror of https://github.com/hoellen/dockerfiles.git synced 2025-05-07 20:59:17 +00:00

cryptpad: change base image

This commit is contained in:
Wonderfall 2017-07-14 05:42:12 +02:00
parent c21b1f384f
commit 5724f4322c

@ -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 \