mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-06-05 22:49:25 +00:00
fixup! Move to distroless images.
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@ RUN CGO_ENABLED=1 make build
|
||||
|
||||
FROM gcr.io/distroless/base-debian12:nonroot
|
||||
WORKDIR /go/src/app
|
||||
ADD entrypoint.sh /entrypoint.sh
|
||||
ADD config-release.yaml /go/src/app/config.yaml
|
||||
COPY --from=baseimg /go/src/app/semver-gen .
|
||||
COPY --from=baseimg /go/src/app/config-release.yaml config.yaml
|
||||
COPY --from=baseimg /go/src/app/entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user