Commit 392e66b0 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Génère une image Docker plus petite.

No related merge requests found
Showing with 8 additions and 1 deletion
+8 -1
...@@ -14,12 +14,19 @@ RUN wget -nv -O /tmp/reveal.js.zip https://gitlab.irstea.fr/pole-is/tools/reveal ...@@ -14,12 +14,19 @@ RUN wget -nv -O /tmp/reveal.js.zip https://gitlab.irstea.fr/pole-is/tools/reveal
&& cd reveal.js \ && cd reveal.js \
&& ./pleasew build :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 COPY --from=builder /src/reveal.js/plz-out/gen/reveal.js /opt/reveal.js
RUN apt-get update -yq \ RUN apt-get update -yq \
&& apt-get install -yq --no-install-recommends \ && apt-get install -yq --no-install-recommends \
ca-certificates \
fontconfig \
libjpeg62-turbo \
libx11-6 \
libxcb1 \
libxext6 \
libxrender1 \
wget \ wget \
xfonts-75dpi \ xfonts-75dpi \
xfonts-base \ xfonts-base \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment