Browse code

Update release script installation instructions

Instructions for installing the static binaries
has changed, so updated the instructions.

The comment on top already requires the steps
to be executed as root, so removing the 'sudo'

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit e233c8dd7208b358b950731a6ba93cf9dcb80eb5)

Sebastiaan van Stijn authored on 2016/06/14 00:55:06
Showing 1 changed files
... ...
@@ -272,10 +272,11 @@ release_binaries() {
272 272
 	# TODO create redirect from builds/*/i686 to builds/*/i386
273 273
 
274 274
 	cat <<EOF | write_to_s3 s3://$BUCKET_PATH/builds/index
275
-# To install, run the following command as root:
276
-curl -sSL -O $(s3_url)/builds/Linux/x86_64/docker-$VERSION.tgz && sudo tar zxf docker-$VERSION.tgz -C /
275
+# To install, run the following commands as root:
276
+curl -fsSLO $(s3_url)/builds/Linux/x86_64/docker-$VERSION.tgz && tar --strip-components=1 -xvzf docker-$VERSION.tgz -C /usr/local/bin
277
+
277 278
 # Then start docker in daemon mode:
278
-sudo /usr/local/bin/docker daemon
279
+/usr/local/bin/dockerd
279 280
 EOF
280 281
 
281 282
 	# Add redirect at /builds/info for URL-backwards-compatibility
... ...
@@ -311,8 +312,8 @@ echo "Use the following text to announce the release:"
311 311
 echo
312 312
 echo "We have just pushed $VERSION to $(s3_url). You can download it with the following:"
313 313
 echo
314
-echo "Darwin/OSX 64bit client tgz: $(s3_url)/builds/Darwin/x86_64/docker-$VERSION.tgz"
315 314
 echo "Linux 64bit tgz: $(s3_url)/builds/Linux/x86_64/docker-$VERSION.tgz"
316
-echo "Windows 64bit client zip: $(s3_url)/builds/Windows/x86_64/docker-$VERSION.zip"
315
+echo "Darwin/OSX 64bit client tgz: $(s3_url)/builds/Darwin/x86_64/docker-$VERSION.tgz"
316
+echo "Windows 64bit zip: $(s3_url)/builds/Windows/x86_64/docker-$VERSION.zip"
317 317
 echo "Windows 32bit client zip: $(s3_url)/builds/Windows/i386/docker-$VERSION.zip"
318 318
 echo