HUB
Sign inSign up
ci-docker-compose-siblings logo

elastest/ci-docker-compose-siblings

By elastest

•Updated over 7 years ago

Extension of ci-docker-siblings to add docker-compose

Image
0

10K+

elastest/ci-docker-compose-siblings repository overview

Copyright © 2017-2019 ElasTest⁠. Licensed under Apache 2.0 License⁠.

⁠elastest/docker-compose-siblings

⁠What is this?

This image is a extension of the basic environment (docker-siblings) that add: docker-compose, npm, node and angular.

⁠Quick reference

⁠What's on this image?

This image provides an environment with the following tools installed:

  • Oracle Java 8
  • Apache Maven 3.3.9
  • docker-ce (latest stable)
  • AWS cli
  • Docker-compose
  • npm
  • Node
  • Angular CLI

⁠How to use this image

This image should be launched while linked with the docker-host as follows:

  • Docker run (without aws):
docker run -u jenkins -v /var/run/docker.sock:/var/run/docker.sock:rw elastest/ci-docker-compose-siblings 
  • Docker run (with aws):
docker run -u jenkins -v /var/run/docker.sock:/var/run/docker.sock:rw -v <aws config files path>:/home/jenkins/.aws elastest/ci-docker-compose-siblings 
  • Jenkins pipeline:
def mycontainer = docker.image('elastest/ci-docker-compose-siblings:latest')
mycontainer.pull() 
mycontainer.inside("-u jenkins -v /var/run/docker.sock:/var/run/docker.sock:rw -v <aws config files path>:/home/jenkins/.aws") { //here your code }

⁠Dependencies (other containers or tools)

This container needs the following to work properly:

  • docker installed in the host with the posibility to be shared.

  • aws configuration, you can avoid running the container with the aws volume if you don't use the aws cli. For information of the configuration files please visit the Amazon Reference on Config Files⁠

Tag summary
Recent tags
Content type
Image
Digest
Size
558.6 MB
Last updated
over 7 years ago
docker pull elastest/ci-docker-compose-siblings:latest