mirror of https://github.com/docker/docs.git
Polish instructions a little bit.
This commit is contained in:
parent
ab4fb9bbfa
commit
bfee2c726e
11
make.sh
11
make.sh
|
|
@ -121,6 +121,17 @@ main() {
|
||||||
bundle_binary
|
bundle_binary
|
||||||
bundle_ubuntu
|
bundle_ubuntu
|
||||||
#bundle_test
|
#bundle_test
|
||||||
|
cat <<EOF
|
||||||
|
###############################################################################
|
||||||
|
Now run the resulting image, making sure that you set AWS_S3_BUCKET,
|
||||||
|
AWS_ACCESS_KEY, and AWS_SECRET_KEY environment variables:
|
||||||
|
|
||||||
|
docker run -e AWS_S3_BUCKET=get-staging.docker.io \\
|
||||||
|
AWS_ACCESS_KEY=AKI1234... \\
|
||||||
|
AWS_SECRET_KEY=sEs3mE... \\
|
||||||
|
image_id_or_name
|
||||||
|
###############################################################################
|
||||||
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ release_ubuntu() {
|
||||||
# Add the following to /etc/apt/sources.list
|
# Add the following to /etc/apt/sources.list
|
||||||
deb $(s3_url $BUCKET)/ubuntu docker main
|
deb $(s3_url $BUCKET)/ubuntu docker main
|
||||||
EOF
|
EOF
|
||||||
echo "APT repository uploaded to http:. Instructions available at $(s3_url $BUCKET)/ubuntu/info"
|
echo "APT repository uploaded. Instructions available at $(s3_url $BUCKET)/ubuntu/info"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Upload a static binary to S3
|
# Upload a static binary to S3
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue