mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
425cd7d1c5
The following command fails when the target directory does not exist. $ sudo make install DOCKER_MAKE_INSTALL_PREFIX=/opt/docker AUTO_GOPATH=1 KEEPBUNDLE=1 hack/make.sh install-binary # WARNING! I don't seem to be running in a Docker container. # The result of this command might be an incorrect build, and will not be # officially supported. # # Try this instead: make all # ---> Making bundle: install-binary (in bundles/1.14.0-dev/install-binary) Installing docker to /opt/docker/bin/ cp: cannot create regular file '/opt/docker/bin/': No such file or directory make: *** [Makefile:119: install] Error 1 The patch installs the target directory before copying any binaries. $ sudo make install DOCKER_MAKE_INSTALL_PREFIX=/opt/docker AUTO_GOPATH=1 KEEPBUNDLE=1 hack/make.sh install-binary # WARNING! I don't seem to be running in a Docker container. # The result of this command might be an incorrect build, and will not be # officially supported. # # Try this instead: make all # ---> Making bundle: install-binary (in bundles/1.14.0-dev/install-binary) Installing docker to /opt/docker/bin/ Installing dockerd to /opt/docker/bin/ Installing docker-runc to /opt/docker/bin/ Installing docker-containerd to /opt/docker/bin/ Installing docker-containerd-ctr to /opt/docker/bin/ Installing docker-containerd-shim to /opt/docker/bin/ Installing docker-proxy to /opt/docker/bin/ Installing docker-init to /opt/docker/bin/ Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com> |
||
---|---|---|
.. | ||
dockerfile | ||
Jenkins | ||
make | ||
validate | ||
dind | ||
generate-authors.sh | ||
generate-swagger-api.sh | ||
install.sh | ||
make.ps1 | ||
make.sh | ||
release.sh | ||
vendor.sh |