From 392e66b0b60eb4d092e8abadf2cea2a25f352a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@inrae.fr> Date: Mon, 4 May 2020 11:52:52 +0200 Subject: [PATCH] =?UTF-8?q?G=C3=A9n=C3=A8re=20une=20image=20Docker=20plus?= =?UTF-8?q?=20petite.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 48592a6..cbde74d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,12 +14,19 @@ RUN wget -nv -O /tmp/reveal.js.zip https://gitlab.irstea.fr/pole-is/tools/reveal && cd reveal.js \ && ./pleasew build :reveal.js -FROM node:${NODE_VERSION}-${DEBIAN_RELEASE} +FROM node:${NODE_VERSION}-${DEBIAN_RELEASE}-slim COPY --from=builder /src/reveal.js/plz-out/gen/reveal.js /opt/reveal.js RUN apt-get update -yq \ && apt-get install -yq --no-install-recommends \ + ca-certificates \ + fontconfig \ + libjpeg62-turbo \ + libx11-6 \ + libxcb1 \ + libxext6 \ + libxrender1 \ wget \ xfonts-75dpi \ xfonts-base \ -- GitLab