Sign inSign up

nephatrine/drone-runner

By nephatrine

•Updated 9 months ago
Archived

Container w/ Drone-Runner-Docker

Image
0

10K+

nephatrine/drone-runner repository overview

⁠Drone Docker Runner

NephCode GitHub Registry DockerHub unRAID

This is an Alpine-based container hosting a Drone CI runner for performing your own CI/CD builds in Docker containers. You can have multiple such runners connected to a Drone server.

WARNING: Please note that the runner itself runs as the root user inside the container. Only allow trusted users and organizations access to your runner.

WARNING: I have personally migrated to Gitea Actions and so this container is not thoroughly tested anymore. I do suggest you find an alternative as I will not maintain this indefinitely.

⁠Supported Tags

  • drone-runner:1.8.4: Drone Docker Runner 1.8.4

⁠Software

⁠Configuration

This is the only configuration file you will likely need to be aware of and potentially customize.

  • /mnt/config/etc/drone-runner-config

This is a bash script that will be sourced by the startup routine to include additional tweaks or setup you would like to perform. Modifications to these files will require a service restart to pull in the changes made.

⁠Container Variables
  • TZ: Time Zone (i.e. America/New_York)
  • PUID: Mounted File Owner User ID
  • PGID: Mounted File Owner Group ID
  • DRONE_RPC_HOST: Drone Domain/IP and Port
  • DRONE_RPC_PROTO: Drone URL Protocol
  • DRONE_RPC_SECRET: Drone Secret
  • DRONE_RUNNER_NAME: Runner Name

⁠Testing

⁠docker-compose
services:
  drone-runner:
    image: nephatrine/drone-runner:latest
    container_name: drone-runner
    environment:
      TZ: America/New_York
      PUID: 1000
      PGID: 1000
      DRONE_RPC_HOST: drone.example.net
      DRONE_RPC_PROTO: https
      DRONE_RPC_SECRET:
      DRONE_RUNNER_NAME: test
    volumes:
      - /mnt/containers/drone-runner:/mnt/config
      - /var/run/docker.sock:/run/docker.sock
⁠docker run
docker run --rm -ti code.nephatrine.net/nephnet/drone-runner:latest /bin/bash

Tag summary

Content type

Image

Digest

sha256:840bf3bf1…

Size

108.9 MB

Last updated

9 months ago

docker pull nephatrine/drone-runner