X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=blobdiff_plain;f=Dockerfile;h=d8921cee4cae2820a1448635f6ad1dab6425fe0b;hp=6261e81bc1aaf5c75fb61cc5e2bc9546d115d524;hb=HEAD;hpb=186d9eaa5737a7631df89b40be75c55e5b976e48 diff --git a/Dockerfile b/Dockerfile index 6261e81b..79d33130 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ FROM python:3-alpine as docs ADD . /usr/src/app/shaarli RUN cd /usr/src/app/shaarli \ + && apk add --no-cache gcc musl-dev \ && pip install --no-cache-dir mkdocs \ && mkdocs build --clean @@ -16,7 +17,7 @@ RUN cd shaarli \ # Stage 3: # - Frontend dependencies -FROM node:9.9-alpine as node +FROM node:12-alpine as node COPY --from=composer /app/shaarli shaarli RUN cd shaarli \ && yarn install \ @@ -25,7 +26,7 @@ RUN cd shaarli \ # Stage 4: # - Shaarli image -FROM alpine:3.7 +FROM alpine:3.12 LABEL maintainer="Shaarli Community" RUN apk --update --no-cache add \ @@ -43,6 +44,7 @@ RUN apk --update --no-cache add \ php7-openssl \ php7-session \ php7-xml \ + php7-simplexml \ php7-zlib \ s6