mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-05-10 14:19:17 +00:00
cryptpad: change base image
This commit is contained in:
parent
c21b1f384f
commit
5724f4322c
@ -1,4 +1,4 @@
|
|||||||
FROM node:8-alpine
|
FROM alpine:3.6
|
||||||
|
|
||||||
ARG VERSION=1.10.1
|
ARG VERSION=1.10.1
|
||||||
|
|
||||||
@ -6,7 +6,15 @@ ENV UID=991 GID=991
|
|||||||
|
|
||||||
WORKDIR /cryptpad
|
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 \
|
&& wget -qO- https://github.com/xwiki-labs/cryptpad/archive/${VERSION}.tar.gz | tar xz --strip 1 \
|
||||||
&& npm install \
|
&& npm install \
|
||||||
&& npm install -g bower \
|
&& npm install -g bower \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user