Compare commits
3 Commits
211bb21d8d
...
c94ef136a5
Author | SHA1 | Date | |
---|---|---|---|
c94ef136a5 | |||
710a8a4abb | |||
b439c231d9 |
@ -6,7 +6,7 @@ RUN apk update && \
|
|||||||
apk upgrade && \
|
apk upgrade && \
|
||||||
apk add git make
|
apk add git make
|
||||||
|
|
||||||
RUN if [ ! -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@v${GOSEC_VERSION}; fi
|
RUN if [ ! -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@${GOSEC_VERSION}; fi
|
||||||
RUN if [ -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@latest; fi
|
RUN if [ -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@latest; fi
|
||||||
|
|
||||||
RUN cp /go/bin/gosec /usr/bin/gosec && \
|
RUN cp /go/bin/gosec /usr/bin/gosec && \
|
||||||
|
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
|||||||
# GOSEC_VERSION
|
# GOSEC_VERSION
|
||||||
# Only required to install a specifiy version
|
# Only required to install a specifiy version
|
||||||
GOSEC_VERSION?=v2.17.0 # renovate: datasource=github-releases depName=securego/gosec
|
GOSEC_VERSION?=v2.18.0 # renovate: datasource=github-releases depName=securego/gosec
|
||||||
|
|
||||||
# CONTAINER_RUNTIME
|
# CONTAINER_RUNTIME
|
||||||
# The CONTAINER_RUNTIME variable will be used to specified the path to a
|
# The CONTAINER_RUNTIME variable will be used to specified the path to a
|
||||||
|
Loading…
Reference in New Issue
Block a user