mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
Link _output/bin/ to real binaries for this arch
This makes followup commits easier wrt finding binaries during build.
This commit is contained in:
@@ -25,7 +25,11 @@ RUN chmod -R a+rwx /usr/local/go/pkg
|
||||
# of operations.
|
||||
ENV HOME /go/src/k8s.io/kubernetes
|
||||
WORKDIR ${HOME}
|
||||
RUN chmod -R a+rwx ${HOME}
|
||||
# We have to mkdir the dirs we need, or else Docker will create them when we
|
||||
# mount volumes, and it will create them with root-only permissions. The
|
||||
# explicit chmod of _output is required, but I can't really explain why.
|
||||
RUN mkdir -p ${HOME} ${HOME}/_output \
|
||||
&& chmod -R a+rwx ${HOME} ${HOME}/_output
|
||||
|
||||
# Propagate the git tree version into the build image
|
||||
ADD kube-version-defs /kube-version-defs
|
||||
|
Reference in New Issue
Block a user