We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e9b899 commit f2dfa46Copy full SHA for f2dfa46
Dockerfile
@@ -0,0 +1,12 @@
1
+FROM golang:1.20-alpine3.18 AS builder
2
+MAINTAINER DeepFence
3
+
4
+RUN apk update
5
+RUN apk add make
6
+WORKDIR /go
7
+COPY . compliance
8
+RUN cd compliance && make clean && make
9
10
+FROM alpine:3.18
11
12
+COPY --from=builder /go/compliance/compliance /usr/bin/compliance
Makefile
@@ -1,9 +1,9 @@
-all: Compliance
+all: compliance
clean:
-rm ./compliance
-Compliance:
+compliance:
env CGO_ENABLED=0 go build -o compliance -buildvcs=false -v .
-.PHONY: clean
+.PHONY: clean
0 commit comments