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.
2 parents 973ea74 + ed3a652 commit 659907dCopy full SHA for 659907d
Dockerfile
@@ -64,11 +64,9 @@ COPY --from=builder /etc/ssl/certs /etc/ssl/certs
64
COPY --from=builder workspace/bin/kcp-front-proxy workspace/bin/kcp workspace/bin/virtual-workspaces workspace/bin/cache-server /
65
COPY --from=builder workspace/bin/kubectl-* /usr/local/bin/
66
COPY --from=builder workspace/bin/kubectl /usr/local/bin/
67
+
68
ENV KUBECONFIG=/etc/kcp/config/admin.kubeconfig
-# Use uid of nonroot user (65532) because kubernetes expects numeric user when applying pod security policies
69
-RUN ["/busybox/sh", "-c", "mkdir -p /data && chown 65532:65532 /data"]
70
USER 65532:65532
71
-WORKDIR /data
72
-VOLUME /data
73
ENTRYPOINT ["/kcp"]
74
CMD ["start"]
0 commit comments