Skip to content

Commit

Permalink
fix: alpine.Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Nov 13, 2024
1 parent f6a8f41 commit 60d11f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alpine.Dockerfile
Original file line number Diff line number Diff line change
@@ -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:3.2.2-alpine3.17 AS builder

RUN apk update \
&& apk add \
Expand Down Expand Up @@ -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:3.2.2-alpine3.17

# 1. Update system packages.
# 2. Install required system packages.
Expand Down

0 comments on commit 60d11f8

Please sign in to comment.