From a3cb66c0d7957f9354946d031f183f56b7705ac8 Mon Sep 17 00:00:00 2001 From: kraeml Date: Sun, 31 Mar 2019 11:30:26 +0200 Subject: [PATCH] Apt pinning for armv6l docker bug --- builder/chroot-script.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/builder/chroot-script.sh b/builder/chroot-script.sh index 28e7383..9477470 100644 --- a/builder/chroot-script.sh +++ b/builder/chroot-script.sh @@ -225,6 +225,11 @@ pip install "docker-compose==${DOCKER_COMPOSE_VERSION}" # install bash completion for Docker Compose curl -sSL "https://raw.githubusercontent.com/docker/compose/${DOCKER_COMPOSE_VERSION}/contrib/completion/bash/docker-compose" -o /etc/bash_completion.d/docker-compose +# set up Docker CE pinning for armv6l bug in docker +# See https://github.com/moby/moby/issues/38175 + +echo -e 'Package: docker-ce\nPin: version 18.06.*\nPin-Priority: 1000' | tee /etc/apt/preferences.d/docker-ce + # install docker-ce (w/ install-recommends) apt-get install -y --force-yes \ --no-install-recommends \