Commit b8dd9eef authored by Chris Croome's avatar Chris Croome

Merge branch 'master' of git.coop:webarch/containers

parents d6a77a0a 9333ee5e
Pipeline #8427 passed with stage
in 6 minutes and 3 seconds
......@@ -2,13 +2,17 @@
image: debian:buster
before_script:
# TODO re-write this to use bash to download and install the latest docker-compose
# from https://github.com/docker/compose/releases
- apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install apt-utils ansible git python -yqq
- git clone https://git.coop/webarch/docker.git
- cd docker && ansible-playbook --extra-vars "hostname=localhost" -i "localhost," -c local docker_compose.yml && cd -
- apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common -yqq
# https://git.coop/webarch/scripts/blob/master/bin/install-docker-compose.sh
- curl -sL "https://git.coop/webarch/scripts/raw/master/bin/install-docker-compose.sh?inline=false" -o /usr/local/bin/install-docker-compose.sh && chmod 755 /usr/local/bin/install-docker-compose.sh
- /usr/local/bin/install-docker-compose.sh
# https://docs.docker.com/install/linux/docker-ce/debian/
# https://stackoverflow.com/a/49462622
- curl -fsSL https://download.docker.com/linux/debian/gpg | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add -
- add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
- apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install docker-ce docker-ce-cli containerd.io -yqq
# https://stackoverflow.com/a/56260729
- rm /usr/bin/docker-credential-secretservice
- if [[ -f /usr/bin/docker-credential-secretservice ]] ; then rm /usr/bin/docker-credential-secretservice ; fi
stages:
- build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment