2017-01-04 01:52:31 +01:00
|
|
|
# Docker Compose
|
|
|
|
|
2017-01-29 14:15:32 +01:00
|
|
|
[![Docker Automated buil](https://img.shields.io/docker/automated/tmaier/docker-compose.svg)](https://hub.docker.com/r/tmaier/docker-compose/)
|
|
|
|
[![Docker Pulls](https://img.shields.io/docker/pulls/tmaier/docker-compose.svg)](https://hub.docker.com/r/tmaier/docker-compose/)
|
|
|
|
[![GitHub issues](https://img.shields.io/github/issues/tmaier/docker-compose.svg)](https://github.com/tmaier/docker-compose/issues)
|
|
|
|
[![GitHub stars](https://img.shields.io/github/stars/tmaier/docker-compose.svg?style=social&label=Star)](https://github.com/tmaier/docker-compose)
|
|
|
|
|
2017-01-26 16:56:29 +01:00
|
|
|
This docker image installs docker-compose on top of the `docker` image.
|
2017-01-04 01:52:31 +01:00
|
|
|
This is very usefull for CI pipelines, which leverage "Docker in Docker".
|
2017-01-26 16:56:29 +01:00
|
|
|
|
2017-09-07 13:22:26 +02:00
|
|
|
## Docker versions supported
|
|
|
|
|
|
|
|
There are versions based on different docker versions, e.g. `latest`, `17.06`, `17.03` and `1.13`.
|
|
|
|
|
|
|
|
Please open an issue or a pull request (preferred) [at GitHub](https://github.com/tmaier/docker-compose), if a version is missing.
|
2017-01-29 14:15:32 +01:00
|
|
|
|
2017-10-04 09:48:32 +02:00
|
|
|
## Usage instructions for GitLab CI
|
|
|
|
|
|
|
|
You may use it like this in your `.gitlab-ci.yml` file.
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
image: tmaier/docker-compose:latest
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker:dind
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- docker info
|
|
|
|
- docker-compose --version
|
|
|
|
|
|
|
|
build image:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- docker-compose build
|
|
|
|
```
|
|
|
|
|
2017-01-29 14:15:32 +01:00
|
|
|
## Author
|
|
|
|
|
|
|
|
[Tobias L. Maier](http://tobiasmaier.info) for [BauCloud GmbH](https://www.baucloud.com)
|