From e06f58ee9781d34a8c9aa2ebf44fda5c9cb6780a Mon Sep 17 00:00:00 2001 From: Roslyn Wythe Date: Mon, 19 Aug 2024 10:33:38 -0700 Subject: [PATCH 1/2] Update Dockerfile with ruby:3.3.4-alpine3.20 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5432020..b678639 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,8 @@ ### # The FROM command specifies a base image to start with. We're using an Alpine Linux base because it's small (around 5MB), together with a Ruby installation -# that matches GitHub Pages' current Ruby version (2.7.3-alpine3.13 as of 08/03/2022, ruby:2.7.4-alpine3.14 as of 8/18/2022) -FROM ruby:2.7.4-alpine3.14 AS build +# that matches GitHub Pages' current Ruby version (2.7.3-alpine3.13 as of 08/03/2022, ruby:2.7.4-alpine3.14 as of 8/18/2022, ruby:3.3.4-alpine3.20 as of 8/19/2024 ) +FROM ruby:3.3.4-alpine3.20 AS build # Set Ruby ENV variables ENV GEM_BIN=/usr/gem/bin @@ -72,7 +72,7 @@ RUN gem install github-pages -- \ ### BUILD STAGE 2 ### -FROM ruby:2.7.4-alpine3.14 +FROM ruby:3.3.4-alpine3.20 LABEL maintainer "Jordon Bedwell " # Copy shell scripts from the Dockerfile directory into the root of the new build stage. From b6b51ede664e30a9fce744f83001423631286a26 Mon Sep 17 00:00:00 2001 From: Roslyn Wythe Date: Sun, 15 Sep 2024 01:12:27 -0700 Subject: [PATCH 2/2] Update Dockerfile to list openssl --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index b678639..911b879 100644 --- a/Dockerfile +++ b/Dockerfile @@ -98,6 +98,7 @@ ENV LANGUAGE=en_US RUN apk --no-cache add \ bash \ su-exec + openssl # Copy the github-pages gem we installed during stage 1 into an identical folder within the new build stage. COPY --from=build /usr/gem/ /usr/gem/