Skip to content

Commit

Permalink
fix(Dockerfile): jekyll install
Browse files Browse the repository at this point in the history
  • Loading branch information
tevariou committed Dec 8, 2021
1 parent aac28ad commit 9e91fde
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -35,4 +32,4 @@ RUN chmod +x /app/docker-entrypoint.sh

COPY --from=build-image /build /app

ENTRYPOINT ["/app/docker-entrypoint.sh"]
ENTRYPOINT ["/app/docker-entrypoint.sh"]

0 comments on commit 9e91fde

Please sign in to comment.