Skip to content

Commit 47837e8

Browse files
authored
Update to go-1.24, simplify error handling in startup code (#110)
1 parent 4d8b184 commit 47837e8

File tree

15 files changed

+626
-1403
lines changed

15 files changed

+626
-1403
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
FROM alpine:3.20 as health-downloader
2-
ENV GRPC_HEALTH_PROBE_VERSION=v0.4.28 \
1+
FROM alpine:3.21 as health-downloader
2+
ENV GRPC_HEALTH_PROBE_VERSION=v0.4.37 \
33
GRPC_HEALTH_PROBE_URL=https://github.com/grpc-ecosystem/grpc-health-probe/releases/download
44
RUN apk -U add curl \
55
&& curl -fLso /bin/grpc_health_probe \
66
${GRPC_HEALTH_PROBE_URL}/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 \
77
&& chmod +x /bin/grpc_health_probe
88

9-
FROM alpine:3.20
10-
RUN apk -U add ca-certificates
9+
FROM gcr.io/distroless/static-debian12:nonroot
1110
COPY --from=health-downloader /bin/grpc_health_probe /bin/grpc_health_probe
1211
COPY bin/server /masterdata-api
1312
CMD ["/masterdata-api"]

api/v1/common.pb.go

Lines changed: 15 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)