Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 801 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 801 Bytes

drone-docker

Docker built image is hosted here: https://registry.hub.docker.com/u/state/drone/

Drone CI docker image.

The image is based on Fedora base image. It has docker, git, wget tools and obviously drone preinstall.

Configuration

Configuration is done using environment variables or by passing a config file via --config drone.toml.

  • DOCKER_HOST_DNS - if set, then before drone is started, a dns lookup will be done to resolve IPs and set them as DRONE_WORKER_NODES (poor man's hosts discovery).
  • DRONE_REGISTRY_HOST - private registry host
  • DRONE_REGISTRY_AUTH - private registry auth string (base64 encoded user:password)

See https://github.com/drone/drone for more details.

Running

docker run \
  -e DRONE_SERVER_PORT=:80 \
  -p 80:80 state/drone