Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
Updated core image
Browse files Browse the repository at this point in the history
  • Loading branch information
faceleg committed Nov 20, 2023
1 parent fac92e8 commit 4574e3b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# This is the main Dockerfile for this repository
FROM ruby:3

# Set default locale for the environment
ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
Expand All @@ -13,12 +15,11 @@ LABEL "repository"="http://github.com/Li357/jekyll-deploy-gh-pages"

RUN apt-get update && apt-get install -y ca-certificates curl gnupg
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
RUN NODE_MAJOR=20
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
ENV NODE_MAJOR=21
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
RUN apt-get update && apt-get install nodejs -y
RUN apt-get install libvips libpng libjpeg
RUN apt-get install -y libvips

ADD entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit 4574e3b

Please sign in to comment.