From 9e91fde64c023a2a658b615f3ebca563952a4c7b Mon Sep 17 00:00:00 2001 From: Teva RIOU Date: Wed, 8 Dec 2021 14:57:29 +0100 Subject: [PATCH] fix(Dockerfile): jekyll install --- Dockerfile | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3a440163d..e9cf41eff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,12 @@ -FROM jruby:9.2.18.0-jdk11 as build-image +FROM jekyll/jekyll:4.2.0 as build-image -RUN apt-get update \ - && apt-get upgrade -y \ - && apt-get install -y build-essential npm \ - && apt-get install -y iputils-ping \ - && apt-get autoremove --purge -y \ - && apt-get clean -y \ - && rm -rf /var/lib/apt/lists/* - - -RUN gem install jekyll +RUN apk update \ + && apt-get upgrade \ + && apt-get add --no-cache \ + build-base + gcc \ + npm \ + iputils RUN npm install -g fsh-sushi @@ -35,4 +32,4 @@ RUN chmod +x /app/docker-entrypoint.sh COPY --from=build-image /build /app -ENTRYPOINT ["/app/docker-entrypoint.sh"] \ No newline at end of file +ENTRYPOINT ["/app/docker-entrypoint.sh"]