Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile with ruby:3.3.4-alpine3.20 #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 <[email protected]>"

# Copy shell scripts from the Dockerfile directory into the root of the new build stage.
Expand Down