File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -53,16 +53,14 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
53
53
# Use distroless as minimal base image to package the manager binary
54
54
# Refer to https://github.com/GoogleContainerTools/distroless for more details
55
55
FROM gcr.io/distroless/static:debug
56
- SHELL ["/busybox/sh" , "-c" ]
57
56
WORKDIR /
58
57
COPY --from=builder /etc/ssl/certs /etc/ssl/certs
59
58
COPY --from=builder workspace/bin/kcp-front-proxy workspace/bin/kcp workspace/bin/virtual-workspaces /
60
59
COPY --from=builder workspace/bin/kubectl-* /usr/local/bin/
61
60
COPY --from=builder workspace/bin/kubectl /usr/local/bin/
62
61
ENV KUBECONFIG=/etc/kcp/config/admin.kubeconfig
63
62
# Use uid of nonroot user (65532) because kubernetes expects numeric user when applying pod security policies
64
- RUN mkdir -p /data && \
65
- chown 65532:65532 /data
63
+ RUN ["/busybox/sh" , "-c" , "mkdir -p /data && chown 65532:65532 /data" ]
66
64
USER 65532:65532
67
65
WORKDIR /data
68
66
VOLUME /data
You can’t perform that action at this time.
0 commit comments