mirror of
https://github.com/containers/skopeo.git
synced 2025-07-12 22:18:38 +00:00
Remove the openshift/origin checkout from /tmp after building it
This commit is contained in:
parent
a7e8a9b4d4
commit
83ca466071
@ -35,6 +35,7 @@ RUN set -x \
|
||||
&& (cd "$GOPATH/src/github.com/openshift/origin" && make clean build && make all WHAT=cmd/dockerregistry) \
|
||||
&& cp -a "$GOPATH/src/github.com/openshift/origin/_output/local/bin/linux"/*/* /usr/local/bin \
|
||||
&& cp "$GOPATH/src/github.com/openshift/origin/images/dockerregistry/config.yml" /atomic-registry-config.yml \
|
||||
&& rm -rf "$GOPATH" \
|
||||
&& mkdir /registry
|
||||
|
||||
ENV GOPATH /usr/share/gocode:/go
|
||||
|
Loading…
Reference in New Issue
Block a user