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 e8b7429 commit 8fc3380Copy full SHA for 8fc3380
.dockerignore
@@ -0,0 +1,3 @@
1
+.git
2
+pkg/legacy/v1/plugins.json
3
+pkg/legacy/v1/plugins/
Dockerfile
@@ -1,11 +1,12 @@
-FROM golang:1.19-alpine AS builder
+FROM golang:1.19 AS builder
WORKDIR /app
4
5
COPY go.* ./
6
RUN go mod download
7
8
COPY ./ ./
9
+RUN go generate ./...
10
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-extldflags '-static' -s -w" ./cmd/plugin-registry/
11
12
FROM gcr.io/distroless/static
0 commit comments