1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/hack
Gaël PORTAY 425cd7d1c5 Fix installation using make install
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>
2017-01-27 17:34:38 -05:00
..
dockerfile Merge pull request #30385 from aaronlehmann/vendor-swarmkit-grpc-containerd 2017-01-24 11:00:35 +01:00
Jenkins Update docker daemon to dockerd 2016-12-27 17:32:15 +08:00
make Merge pull request #29959 from cpuguy83/master_fix_selinux_packaging 2017-01-20 15:13:18 -08:00
validate validate changelog dates are in descending order 2017-01-23 19:19:35 -08:00
dind
generate-authors.sh
generate-swagger-api.sh Convert ContainerTopOKResponse from swagger spec. 2017-01-03 11:47:47 -05:00
install.sh add suggestions in failure message in install script 2017-01-18 15:11:20 -05:00
make.ps1 Merge pull request #29147 from Microsoft/jjh/makeroot 2017-01-20 15:01:58 +01:00
make.sh Fix installation using make install 2017-01-27 17:34:38 -05:00
release.sh skip solaris and allow dry run control points 2016-11-22 01:42:52 -08:00
vendor.sh project: use vndr for vendoring 2016-11-03 15:31:46 -07:00