From a34474f38f7e77c5885bdf1ffbdddf743329e01c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 10 Nov 2024 01:34:17 +0000 Subject: [PATCH] fix: alpine.Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-3314651 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-3314651 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-6148880 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-6148880 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-3314647 --- alpine.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alpine.Dockerfile b/alpine.Dockerfile index 45b9b5d..2c91c59 100644 --- a/alpine.Dockerfile +++ b/alpine.Dockerfile @@ -1,5 +1,5 @@ # Use the same alpine and ruby version as in the target image below. -FROM ruby:3.2.0-alpine3.17 AS builder +FROM ruby:alpine3.17 AS builder RUN apk update \ && apk add \ @@ -104,7 +104,7 @@ RUN gem install \ # Use the same alpine and ruby version as the base image to prevent issues. # https://github.com/fluent/fluentd-docker-image/blob/6a497560b45add04b9033955ae2e97c2616aa356/v1.16/alpine/Dockerfile # https://pkgs.alpinelinux.org/packages?name=ruby&branch=v3.17 -FROM ruby:3.2.0-alpine3.17 +FROM ruby:alpine3.17 # 1. Update system packages. # 2. Install required system packages.