summaryrefslogtreecommitdiff
path: root/contrib/mkimage-arch.sh
diff options
context:
space:
mode:
authorunclejack <unclejacksons@gmail.com>2014-02-20 01:11:04 +0200
committerunclejack <unclejacksons@gmail.com>2014-02-20 01:11:04 +0200
commit73a277eb2fd66b815b11e9d2caff2c31c18a0854 (patch)
tree35d5fec1d9d5b69da90944c77c0e2d2bf48881cf /contrib/mkimage-arch.sh
parent16c2031137c5619a67130aa7d4a4f97289d8e808 (diff)
downloaddocker-73a277eb2fd66b815b11e9d2caff2c31c18a0854.tar.gz
don't skip cert check for an example & use HTTPS
This changes two URLs from http to https and it fixes a Dockerfile to stop skipping certificate validation. It also adds the ca-certificates package to that Dockerfile example. Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
Diffstat (limited to 'contrib/mkimage-arch.sh')
-rwxr-xr-xcontrib/mkimage-arch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/mkimage-arch.sh b/contrib/mkimage-arch.sh
index d178a1df3d..73a4173b11 100755
--- a/contrib/mkimage-arch.sh
+++ b/contrib/mkimage-arch.sh
@@ -39,7 +39,7 @@ arch-chroot $ROOTFS /bin/sh -c "haveged -w 1024; pacman-key --init; pkill havege
arch-chroot $ROOTFS /bin/sh -c "ln -s /usr/share/zoneinfo/UTC /etc/localtime"
echo 'en_US.UTF-8 UTF-8' > $ROOTFS/etc/locale.gen
arch-chroot $ROOTFS locale-gen
-arch-chroot $ROOTFS /bin/sh -c 'echo "Server = http://mirrors.kernel.org/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist'
+arch-chroot $ROOTFS /bin/sh -c 'echo "Server = https://mirrors.kernel.org/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist'
# udev doesn't work in containers, rebuild /dev
DEV=$ROOTFS/dev