cloudflare/cloudflared
Publicmirrored from https://github.com/cloudflare/cloudflaredAvailable
.ci/image/Dockerfile
39lines · modecode
| 1 | ARG CLOUDFLARE_DOCKER_REGISTRY_HOST |
| 2 | |
| 3 | FROM ${CLOUDFLARE_DOCKER_REGISTRY_HOST:-registry.cfdata.org}/stash/cf/debian-images/trixie/main:2026.1.0@sha256:e32092fd01520f5ae7de1fa6bb5a721720900ebeaa48e98f36f6f86168833cd7 |
| 4 | RUN apt-get update && \ |
| 5 | apt-get upgrade -y && \ |
| 6 | apt-get install --no-install-recommends --allow-downgrades -y \ |
| 7 | build-essential \ |
| 8 | git \ |
| 9 | go-boring=1.24.13-1 \ |
| 10 | libffi-dev \ |
| 11 | procps \ |
| 12 | python3-dev \ |
| 13 | python3-pip \ |
| 14 | python3-setuptools \ |
| 15 | python3-venv \ |
| 16 | # tool to create msi packages |
| 17 | wixl \ |
| 18 | # install ruby and rpm which are required to install fpm package builder |
| 19 | rpm \ |
| 20 | ruby \ |
| 21 | ruby-dev \ |
| 22 | rubygems \ |
| 23 | # create deb and rpm repository files |
| 24 | reprepro \ |
| 25 | createrepo-c \ |
| 26 | # gcc for cross architecture compilation in arm |
| 27 | gcc-aarch64-linux-gnu \ |
| 28 | libc6-dev-arm64-cross && \ |
| 29 | rm -rf /var/lib/apt/lists/* && \ |
| 30 | # Install fpm gem |
| 31 | gem install fpm --no-document && \ |
| 32 | # Initialize rpm repository, SQL Lite DB |
| 33 | mkdir -p /var/lib/rpm && \ |
| 34 | rpm --initdb && \ |
| 35 | chmod -R 777 /var/lib/rpm && \ |
| 36 | # Create work directory |
| 37 | mkdir -p opt |
| 38 | |
| 39 | WORKDIR /opt |
| 40 | |