Signed-off-by: Jessica Frazelle <princess@docker.com>
| ... | ... |
@@ -293,30 +293,8 @@ EOF |
| 293 | 293 |
# Upload repo |
| 294 | 294 |
s3cmd --acl-public "$s3Headers" sync "$APTDIR/" "s3://$BUCKET/ubuntu/" |
| 295 | 295 |
cat <<EOF | write_to_s3 s3://$BUCKET/ubuntu/index |
| 296 |
-echo "# WARNING! This script is not going to install aufs on your" |
|
| 297 |
-echo "# system. If you want to use aufs please check the script" |
|
| 298 |
-echo "# at https://get.docker.com" |
|
| 299 |
-echo "# You may press Ctrl+C to abort this script." |
|
| 300 |
-(set -x; sleep 20) |
|
| 301 |
-# Check that HTTPS transport is available to APT |
|
| 302 |
-if [ ! -e /usr/lib/apt/methods/https ]; then |
|
| 303 |
- apt-get update |
|
| 304 |
- apt-get install -y apt-transport-https |
|
| 305 |
-fi |
|
| 306 |
- |
|
| 307 |
-# Add the repository to your APT sources |
|
| 308 |
-echo deb $(s3_url)/ubuntu docker main > /etc/apt/sources.list.d/docker.list |
|
| 309 |
- |
|
| 310 |
-# Then import the repository key |
|
| 311 |
-apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys $gpgFingerprint |
|
| 312 |
- |
|
| 313 |
-# Install docker |
|
| 314 |
-apt-get update |
|
| 315 |
-apt-get install -y lxc-docker |
|
| 316 |
- |
|
| 317 |
-# |
|
| 318 |
-# Alternatively, just use the curl-able install.sh script provided at $(s3_url) |
|
| 319 |
-# |
|
| 296 |
+echo "# WARNING! This script is deprecated. Please use the script" |
|
| 297 |
+echo "# at https://get.docker.com/" |
|
| 320 | 298 |
EOF |
| 321 | 299 |
|
| 322 | 300 |
# Add redirect at /ubuntu/info for URL-backwards-compatibility |