From 3083c6a6bc4ea4954a6ed28ff5df41facd44f6f3 Mon Sep 17 00:00:00 2001 From: Tejal Desai Date: Tue, 22 Dec 2020 20:58:50 -0800 Subject: [PATCH] add more debugging --- scripts/travis-setup.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/scripts/travis-setup.sh b/scripts/travis-setup.sh index 800418fc03..df79ca1539 100755 --- a/scripts/travis-setup.sh +++ b/scripts/travis-setup.sh @@ -15,18 +15,22 @@ set -ex +curl -LO https://storage.googleapis.com/container-diff/latest/container-diff-linux-amd64 && chmod +x container-diff-linux-amd64 && sudo mv container-diff-linux-amd64 /usr/local/bin/container-diff + + curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" sudo apt-get update sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce -curl -LO https://storage.googleapis.com/container-diff/latest/container-diff-linux-amd64 && chmod +x container-diff-linux-amd64 && sudo mv container-diff-linux-amd64 /usr/local/bin/container-diff -docker run -d -p 5000:5000 --restart always --name registry registry:2 - +mkdir -p $HOME/.docker/ +echo '{"experimental": "enabled"}' > $HOME/.docker/config.json mkdir -vp ~/.docker/cli-plugins/ curl --silent -L "https://github.com/docker/buildx/releases/download/v0.3.0/buildx-v0.3.0.linux-amd64" > ~/.docker/cli-plugins/docker-buildx chmod a+x ~/.docker/cli-plugins/docker-buildx docker buildx version docker buildx create --use --platform=linux/amd64 +docker buildx ls + +docker run -d -p 5000:5000 --restart always --name registry registry:2.6.2 + -mkdir -p $HOME/.docker/ -echo '{}' > $HOME/.docker/config.json