1
0
mirror of https://github.com/tmaier/docker-compose synced 2024-11-22 07:51:58 +01:00
Container with Docker + Docker Compose - good for CI
Go to file
Tobias L. Maier aa33a2b980
Merge pull request #22 from viltiki/patch-1
Update DOCKER_AND_COMPOSE_VERSION_MATRIX
2020-01-08 07:29:28 +01:00
hooks Fix loop of test 2018-04-29 19:35:40 +02:00
DOCKER_AND_COMPOSE_VERSION_MATRIX Update DOCKER_AND_COMPOSE_VERSION_MATRIX 2020-01-08 12:40:47 +13:00
docker-compose.test.yml Remove individual build directories 2018-04-29 07:02:09 +02:00
Dockerfile Add dependency packages for docker-compose 2019-05-08 15:46:37 +07:00
LICENSE Initial commit 2017-01-04 01:06:01 +01:00
README.md Add a small instruction on how to add a new docker version 2018-07-28 08:54:46 +02:00

Docker Compose

Docker Automated buil Docker Pulls GitHub issues GitHub stars

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.

All available Docker Engine versions and the respective Docker Compose versions are defined in DOCKER_AND_COMPOSE_VERSION_MATRIX.

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

How to add support for a new docker version to this repository?

You must only provide a Pull Request for the file DOCKER_AND_COMPOSE_VERSION_MATRIX.

DOCKER_AND_COMPOSE_VERSION_MATRIX specifies in the first column the docker version. The second column states the most recent release of docker-compose when the docker version has been released.

You can see the latest matching versions of both by checking their release notes:

Author

Tobias L. Maier for BauCloud GmbH