We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94dc615 commit 176b6f0Copy full SHA for 176b6f0
2 files changed
.vscode/settings.json
@@ -1,3 +1 @@
1
-{
2
- // "prettier.prettierPath": "./node_modules/prettier"
3
-}
+{}
Dockerfile
@@ -26,7 +26,12 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go
26
27
# Use distroless as minimal base image to package the manager binary
28
# Refer to https://github.com/GoogleContainerTools/distroless for more details
29
-FROM gcr.io/distroless/static:nonroot
+FROM node:20-alpine
30
+
31
+RUN apk update && apk add --no-cache libc6-compat git curl
32
+RUN corepack enable
33
+RUN corepack enable && corepack prepare pnpm@8.6.5 --activate
34
35
WORKDIR /
36
COPY --from=builder /workspace/manager .
37
USER 65532:65532
0 commit comments