mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-11-26 22:45:38 +03:00
16 lines
548 B
YAML
16 lines
548 B
YAML
|
env:
|
||
|
DOCKER_COMPOSE_VERSION: 1.22.0
|
||
|
|
||
|
before_install:
|
||
|
- sudo apt-get update
|
||
|
- sudo apt-get install -o Dpkg::Options::="--force-confold" --force-yes -y docker-engine
|
||
|
- docker-compose --version
|
||
|
- sudo rm /usr/local/bin/docker-compose
|
||
|
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
|
||
|
- chmod +x docker-compose
|
||
|
- sudo mv docker-compose /usr/local/bin
|
||
|
- docker-compose --version
|
||
|
- docker-compose build
|
||
|
- docker-compose start
|
||
|
- docker ps
|