mirror of
https://github.com/tmaier/docker-compose
synced 2024-11-22 16:01:59 +01:00
Container with Docker + Docker Compose - good for CI
f8edb88397
Based on OCI annotation spec https://github.com/opencontainers/image-spec/blob/master/annotations.md |
||
---|---|---|
1.12 | ||
1.13 | ||
17 | ||
17.03 | ||
17.06 | ||
17.09 | ||
17.12 | ||
18 | ||
18.02 | ||
latest | ||
LICENSE | ||
README.md |
Docker Compose
This docker image installs docker-compose on top of the docker
image.
This is very useful for CI pipelines, which leverage "Docker in Docker".
Docker versions supported
There are versions based on different docker versions, e.g. latest
, 17.06
, 17.03
and 1.13
.
docker-compose matches the latest minor version available when the docker release was made. Eg, 17.06
includes docker-compose 1.15.0. The latest
tag always includes the latest docker-compose build.
Please open an issue or a pull request (preferred) at GitHub, if a version is missing.
Usage instructions for GitLab CI
You may use it like this in your .gitlab-ci.yml
file.
image: tmaier/docker-compose:latest
services:
- docker:dind
before_script:
- docker info
- docker-compose --version
build image:
stage: build
script:
- docker-compose build