Skip to content

Commit 168b6c9

Browse files
authored
chore(build): upgrade image to ruby 3.2.6 to fix vulnerability in the… (#1481)
1 parent a39a3e5 commit 168b6c9

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.5
1+
3.2.6

docker/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# To build the image loacylly run from repository root: docker build -t elektra-prod -f docker/Dockerfile .
1+
# To build the image locally run from repository root: docker build -t elektra-prod --build-arg "NPM_GITHUB_TOKEN=XXX" --progress=plain -f docker/Dockerfile .
2+
# to vulnerability scan the image run: trivy image elektra-prod --scanners vuln
23
# Note: in case you get an error that the image cannot be pulled logon to keppel
34
# You can also pull the image manually: docker pull keppel.eu-de-1.cloud.sap/ccloud-dockerhub-mirror/library/ruby:3.2.5-alpine3.20
45
# check for latest version https://hub.docker.com/_/ruby/tags
5-
FROM keppel.eu-de-1.cloud.sap/ccloud-dockerhub-mirror/library/ruby:3.2.5-alpine3.20 AS base
6+
FROM keppel.eu-de-1.cloud.sap/ccloud-dockerhub-mirror/library/ruby:3.2.6-alpine3.20 AS base
67
LABEL source_repository="https://github.com/sapcc/elektra"
78

89
ENV APP_PATH=/home/app

docker/Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM keppel.eu-de-1.cloud.sap/ccloud-dockerhub-mirror/library/ruby:3.2.5-alpine3.20
1+
FROM keppel.eu-de-1.cloud.sap/ccloud-dockerhub-mirror/library/ruby:3.2.6-alpine3.20
22

33
LABEL source_repository="https://github.wdf.sap.corp/monsoon/workspaces/tree/master/environments/elektra"
44

0 commit comments

Comments
 (0)