From 4d5762a9538ef772fa45a75a2401f5d51d8e1719 Mon Sep 17 00:00:00 2001 From: Escande Guillaume Date: Thu, 23 May 2024 15:31:22 +0200 Subject: [PATCH] Upgrade Dockerfile for new alpine version --- doc/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/Dockerfile b/doc/Dockerfile index 0bdd55d..6f27864 100644 --- a/doc/Dockerfile +++ b/doc/Dockerfile @@ -18,7 +18,7 @@ FROM alpine:latest RUN apk add git RUN apk add npm -RUN apk add ruby +RUN apk add ruby ruby-dev gcc g++ make RUN mkdir /home/antora @@ -33,6 +33,8 @@ RUN gem install asciidoctor-pdf RUN gem install rouge RUN gem install kramdown-asciidoc +RUN apk del ruby-dev gcc g++ make + ENV PATH="$PATH:/home/antora/node_modules/@antora/cli/bin/" COPY --from=UI /usr/app/ui-bundle.zip .