-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): bump golang base images from 1.17.2 to 1.17.3
Signed-off-by: nscuro <nscuro@protonmail.com>
- Loading branch information
Showing
3 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
FROM golang:1.17.2-alpine3.14@sha256:5519c8752f6b53fc8818dc46e9fda628c99c4e8fd2d2f1df71e1f184e71f47dc as build | ||
FROM golang:1.17.3-alpine3.14@sha256:7bd9bf011a76c21b70a1e507de7f8d67656e1f293fd72af80aa46f7b054db515 as build | ||
ARG VERSION=latest | ||
WORKDIR /tmp/cyclonedx-gomod | ||
RUN apk --no-cache add git make | ||
COPY . . | ||
RUN make install | ||
|
||
FROM golang:1.17.2-alpine3.14@sha256:5519c8752f6b53fc8818dc46e9fda628c99c4e8fd2d2f1df71e1f184e71f47dc | ||
FROM golang:1.17.3-alpine3.14@sha256:7bd9bf011a76c21b70a1e507de7f8d67656e1f293fd72af80aa46f7b054db515 | ||
COPY --from=build /go/bin/cyclonedx-gomod /usr/local/bin/ | ||
USER 1000 | ||
ENTRYPOINT ["cyclonedx-gomod"] | ||
CMD ["-h"] | ||
CMD ["-h"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# This Dockerfile is meant for GoReleaser exclusively, see .goreleaser.yml. | ||
# For manual builds, please use the regular Dockerfile or simply run "make docker". | ||
FROM golang:1.17.2-alpine3.14@sha256:5519c8752f6b53fc8818dc46e9fda628c99c4e8fd2d2f1df71e1f184e71f47dc | ||
FROM golang:1.17.3-alpine3.14@sha256:7bd9bf011a76c21b70a1e507de7f8d67656e1f293fd72af80aa46f7b054db515 | ||
COPY cyclonedx-gomod /usr/local/bin/ | ||
USER 1000 | ||
ENTRYPOINT ["cyclonedx-gomod"] | ||
CMD ["-h"] | ||
CMD ["-h"] |