Skip to content

Commit

Permalink
fix: tool/codegen/Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Aug 15, 2024
1 parent c383b7c commit b8aaa26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tool/codegen/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Builder image to build go program.
FROM golang:1.22.4 as BUILDER
FROM golang:1.23 as BUILDER

COPY protoc-gen-auth /protoc-gen-auth
RUN cd /protoc-gen-auth \
&& go build -o /usr/local/bin/protoc-gen-auth . \
&& chmod +x /usr/local/bin/protoc-gen-auth

# Codegen image which is actually being used.
FROM golang:1.22.4
FROM golang:1.23

# This is version of protobuf installed in the image.
# See https://pkgs.alpinelinux.org/packages?name=protobuf&branch=v3.16
Expand Down

0 comments on commit b8aaa26

Please sign in to comment.