Skip to content

Commit 289ea1d

Browse files
committed
Bump base image
Bumps core dependencies and base image in Dockerfile. - Bumps Ruby from 3.4.1 to 3.4.6 - Bumps Alpine Linux from 3.20 to 3.22 - This also adds yaml-dev to the Dockerfile - without this the dependency psych was failing when installing
1 parent bfc8aa1 commit 289ea1d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.1
1+
3.4.6

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# TODO: restore to latest version of Alpine once we can use the latest Chromium again (see https://github.com/teamcapybara/capybara/issues/2800)
2-
ARG ALPINE_VERSION=3.20
3-
ARG RUBY_VERSION=3.4.1
2+
ARG ALPINE_VERSION=3.22
3+
ARG RUBY_VERSION=3.4.6
44

5-
ARG DOCKER_IMAGE_DIGEST=sha256:d799fbab7da903c8e709be7df0734b8593ef884242cd34b7a7369b527f06aec3
5+
ARG DOCKER_IMAGE_DIGEST=sha256:d594d5debffa14c591c4fe03b9d0d79cdc28f30d594f47be748e642746057fec
66

77
FROM ruby:${RUBY_VERSION}-alpine${ALPINE_VERSION}@${DOCKER_IMAGE_DIGEST}
88

99
WORKDIR /app
1010
RUN apk update
1111
RUN apk upgrade --available
1212

13-
RUN apk add chromium chromium-chromedriver libc6-compat build-base
13+
RUN apk add chromium chromium-chromedriver libc6-compat build-base yaml-dev
1414

1515
RUN adduser -D ruby
1616
USER ruby

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ CHECKSUMS
225225
xpath (3.2.0) sha256=6dfda79d91bb3b949b947ecc5919f042ef2f399b904013eb3ef6d20dd3a4082e
226226

227227
RUBY VERSION
228-
ruby 3.4.1p0
228+
ruby 3.4.6p54
229229

230230
BUNDLED WITH
231231
2.7.1

0 commit comments

Comments
 (0)