Public Repository

Last pushed: 2 days ago
Short Description
build environment to run on bitbucket pipeline
Full Description

extends the atlassian/default-image

Precondition. Export your docker-machine configuration via github.com/t4gedieb/machine-share.git module

  • npm install -g https://github.com/t4gedieb/machine-share.git
  • machine-export $DOCKER_MACHINE
  • create an s3 bucket with name 'docker-machines'
  • upload the $DOCKER_MACHINE.zip file to s3://docker-machines/$DOCKER_MACHINE_NAME.zip

at startup the container will download the zip file and setup the docker configuration.
The following 3 ENV parameters are required at startup:

docker run \
-e DOCKER_MACHINE_NAME=$DOCKER_MACHINE_NAME \
-e AWS_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxxxxxx \
-e AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
-it butos/pipeline

To run the container without docker support use:
docker run --entrypoint=bash butos/pipeline

  • git 1.9.1
  • mvn 3.3.9
  • aws 1.10.41
  • jq 1.3
  • npm 2.14.7
  • node 4.2.1
  • github.com/t4gedieb/machine-share.git 0.2
  • docker 1.11.2
Docker Pull Command
Owner
butos