cloudflare/cloudflared
Publicmirrored from https://github.com/cloudflare/cloudflaredAvailable
.ci/image/Dockerfile
26lines · modecode
| 1 | ARG CLOUDFLARE_DOCKER_REGISTRY_HOST |
| 2 | |
| 3 | FROM ${CLOUDFLARE_DOCKER_REGISTRY_HOST:-registry.cfdata.org}/stash/cf/debian-images/bookworm/main:2025.7.0@sha256:6350da2f7e728dae2c1420f6dafc38e23cacc0b399d3d5b2f40fe48d9c8ff1ca |
| 4 | |
| 5 | RUN apt-get update && \ |
| 6 | apt-get upgrade -y && \ |
| 7 | apt-get install --no-install-recommends --allow-downgrades -y \ |
| 8 | build-essential \ |
| 9 | git \ |
| 10 | go-boring=1.24.6-1 \ |
| 11 | libffi-dev \ |
| 12 | procps \ |
| 13 | python3-dev \ |
| 14 | python3-pip \ |
| 15 | python3-setuptools \ |
| 16 | python3-venv \ |
| 17 | # libmsi and libgcab are libraries the wixl binary depends on. |
| 18 | libmsi-dev \ |
| 19 | libgcab-dev && \ |
| 20 | rm -rf /var/lib/apt/lists/* && \ |
| 21 | # Install wixl |
| 22 | curl -o /usr/local/bin/wixl -L https://pkg.cloudflare.com/binaries/wixl && \ |
| 23 | chmod a+x /usr/local/bin/wixl && \ |
| 24 | mkdir -p opt |
| 25 | |
| 26 | WORKDIR /opt |