feat(IaC-Docker-Compose) Fix Docker Compose install
This commit is contained in:
parent
757dbde199
commit
b734da2cc9
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user