Sign inSign up

nestybox/ubuntu-bionic-drone-server

By nestybox

Updated almost 5 years ago

System Container with Drone Server + Dockerd

Image
0

1.2K

nestybox/ubuntu-bionic-drone-server repository overview

Nestybox system container image with Ubuntu Bionic + Docker + Drone.io server.

Enables you to run a Drone server within a Sysbox container. Note that this drone-server binary is exclusively relying on the docker daemon present within the sysbox container, and this is done securely, without resorting to 'privileged' containers.

Requires the Nestybox sysbox runtime. Get it at www.nestybox.com.

Run with:

$ docker run --runtime=sysbox-runc \
   --env=DRONE_GITHUB_SERVER=https://github.com \
   --env=DRONE_GITHUB_CLIENT_ID=${DRONE_GITHUB_CLIENT_ID} \
   --env=DRONE_GITHUB_CLIENT_SECRET=${DRONE_GITHUB_CLIENT_ID} \
   --env=DRONE_RUNNER_CAPACITY=2 \
   --env=DRONE_SERVER_HOST=${DRONE_SERVER_HOST} \
   --env=DRONE_SERVER_PROTO=https \
   --env=DRONE_TLS_AUTOCERT=true \
   --env=DRONE_SERVER=http://${DRONE_SERVER_HOST} \
   --env=DRONE_TOKEN=${DRONE_TOKEN} \
   --env=DRONE_USER_CREATE=username:nestybox,admin:true,token:${DRONE_TOKEN} \
   --publish=80:80 --publish=443:443 \
   -d --rm --name=drone nestybox/ubuntu-bionic-drone-server

Refer to Drone's official documentation for more details on the env-variables being expected.

Tag summary

Content type

Image

Digest

Size

219.5 MB

Last updated

almost 5 years ago

docker pull nestybox/ubuntu-bionic-drone-server