We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0a5528 commit 23043bdCopy full SHA for 23043bd
Dockerfile
@@ -0,0 +1,15 @@
1
+# Base
2
+FROM golang:1.20.7-alpine AS builder
3
+RUN apk add --no-cache build-base
4
+WORKDIR /app
5
+COPY . /app
6
+RUN go mod download
7
+RUN go build ./cmd/cvemap
8
+
9
+# Release
10
+FROM alpine:3.18.2
11
+RUN apk -U upgrade --no-cache \
12
+ && apk add --no-cache bind-tools ca-certificates
13
+COPY --from=builder /app/cvemap /usr/local/bin/
14
15
+ENTRYPOINT ["cvemap"]
0 commit comments