tomfordweb / compose-dind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a docker base image with compose installed to be used in your pipelines.

This image includes a few extra helpful utilities such as jq and curl

Use

On whatever stage you need compose on, add the following image and services. I have included some compose examples for you.

build something cool:
  stage: build
  image: tomfordweb/compose-dind:latest
  services:
    - docker:dind
  script:
    - docker-compose -f docker-compose.yml -f docker-compose.production.yml build
    - docker-compose -f docker-compose.yml -f docker-compose.production.yml push

test something cool:
  stage: test
  image: tomfordweb/compose-dind:latest
  services:
    - docker:dind
  script:
    - docker-compose run my-app test

About

License:GNU General Public License v2.0


Languages

Language:Dockerfile 100.0%