From ce1521f0b21d501c22e100dbe69c40c6f4b35671 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Sat, 4 Aug 2018 21:29:33 +0200 Subject: [PATCH] TEST to fix Alpine problems while using another repository --- .gitlab-ci.yml | 3 ++- install-and-chroot.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index af49ff1..52ce145 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: debian:stretch-slim +image: debian:latest stages: - build @@ -7,4 +7,5 @@ build: stage: build script: - apt-get update && apt-get install -y wget sudo +# - echo "147.75.32.21 nl.alpinelinux.org" >> /etc/hosts - bash install-and-chroot.sh diff --git a/install-and-chroot.sh b/install-and-chroot.sh index 9933684..a591299 100755 --- a/install-and-chroot.sh +++ b/install-and-chroot.sh @@ -21,7 +21,7 @@ fi # Install Alpine if ! test -d "$DIR"; then - sudo sh ./$SCRIPT -d $DIR \ + sudo bash ./$SCRIPT -d $DIR -m http://ftp.halifax.rwth-aachen.de/alpine \ -p abuild \ -p build-base \ -p git \