mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2026-03-02 09:40:32 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
731fcb4437 | ||
|
|
fe23f8140a | ||
|
|
18032b22eb | ||
|
|
c389d6ecf2 |
@@ -9,11 +9,6 @@ builds:
|
||||
# Archive customization
|
||||
archive:
|
||||
format: tar.gz
|
||||
dockers:
|
||||
-
|
||||
binary: kube-bench
|
||||
image: aquasec/kube-bench
|
||||
latest: true
|
||||
fpm:
|
||||
vendor: Aqua Security
|
||||
description: "The Kubernetes Bench for Security is a Go application that checks whether Kubernetes is deployed according to security best practices"
|
||||
|
||||
@@ -5,8 +5,8 @@ RUN go get github.com/aquasecurity/kube-bench
|
||||
FROM alpine:latest
|
||||
WORKDIR /
|
||||
COPY --from=0 /go/bin/kube-bench /kube-bench
|
||||
COPY cfg cfg
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
COPY --from=0 /go/src/github.com/aquasecurity/kube-bench/cfg /cfg
|
||||
COPY --from=0 /go/src/github.com/aquasecurity/kube-bench/entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT /entrypoint.sh
|
||||
|
||||
# Build-time metadata as defined at http://label-schema.org
|
||||
|
||||
Reference in New Issue
Block a user