feat(IaC-Docker-Compose) Fix Docker Compose install

This commit is contained in:
Marcel Feix 2022-05-10 11:10:33 +02:00
parent 757dbde199
commit b734da2cc9
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03

View File

@ -39,12 +39,13 @@
- ssh -M -S docker-ctrl-socket -fnNT -L /tmp/docker.sock:/var/run/docker.sock "$SSH_USER@$SSH_URL" -p $SSH_PORT -o ControlPersist=no
- DOCKER_HOST=unix:///tmp/docker.sock docker-compose $COMPOSE_EXTRA_ARGS up -d --remove-orphans
#todo add docker compose renovate updater
.docker-compose-validate:
image: docker:20.10.14-alpine3.15
stage: verify
before_script:
- curl -SL https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
#Install docker Compose, from release directly
- wget https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-linux-x86_64 -O /usr/local/bin/docker-compose
- chmod +x /usr/local/bin/docker-compose
script:
- docker-compose $COMPOSE_EXTRA_ARGS config