Drone.io build image for use with Docker and/or Docker Cloud
To be used with Drone.io CI systems.
You need to tick "Enable Privileged mode" in Drone, as well as adding your Docker login information as environment variables if you need to use Docker Cloud etc.
Additionally, the following example should be used for your .drone.yml scripts:
image: didstopia/drone-docker-cloud:latest script: - wrapdocker & - sleep 5 - docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD -e $DOCKER_EMAIL - ./deploy.sh