File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 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 \
5353# Use distroless as minimal base image to package the manager binary
5454# Refer to https://github.com/GoogleContainerTools/distroless for more details
5555FROM gcr.io/distroless/static:debug
56- SHELL ["/busybox/sh" , "-c" ]
5756WORKDIR /
5857COPY --from=builder /etc/ssl/certs /etc/ssl/certs
5958COPY --from=builder workspace/bin/kcp-front-proxy workspace/bin/kcp workspace/bin/virtual-workspaces /
6059COPY --from=builder workspace/bin/kubectl-* /usr/local/bin/
6160COPY --from=builder workspace/bin/kubectl /usr/local/bin/
6261ENV KUBECONFIG=/etc/kcp/config/admin.kubeconfig
6362# 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" ]
6664USER 65532:65532
6765WORKDIR /data
6866VOLUME /data
You can’t perform that action at this time.
0 commit comments