Skip to content

Commit

Permalink
Revert the change for the codegen image because the protoc-gen-js doe…
Browse files Browse the repository at this point in the history
…sn't exist after alpine 3.16

Signed-off-by: Yoshiki Fujikane <[email protected]>
  • Loading branch information
ffjlabo committed May 25, 2024
1 parent e9a615d commit fb6ee22
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.3-alpine3.19 as BUILDER
FROM golang:1.20.4-alpine3.16 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.3-alpine3.19
FROM golang:1.20.4-alpine3.16

# 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 fb6ee22

Please sign in to comment.