Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 941 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 941 Bytes

Drone

Run Drone CI in a Docker container.

Link: mattgruter/drone

Setup

With newer versions of drone most of the configuration has been moved away from the UI and into drone's configuration file and/or environment variables. Use the --env/-e option to docker run to setup integration with your source control system (GitHub, Bitbucket, Gitlab, ...). Refer to drone's configuration documentation.

Run

The drone image runs its own docker daemon within the container. This requires elevated privileges. Hence you must use the --privileged run flag.

Example

With GitHub integration:

docker run -e DRONE_GITHUB_CLIENT="..." -e DRONE_GITHUB_SECRET="..." -p 8080:80 --privileged mattgruter/drone

And point your browser to http://localhost:8080.