mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-08 12:00:36 +08:00
## Summary This commit migrates the cloduflared ci pipelines, that built, tested and component tested the linux binaries to gitlab ci. The only thing that is remaining to move from teamcity to gitlab are now the release pipelines that run on master. Relates to TUN-9800
27 lines
864 B
Docker
27 lines
864 B
Docker
ARG CLOUDFLARE_DOCKER_REGISTRY_HOST
|
|
|
|
FROM ${CLOUDFLARE_DOCKER_REGISTRY_HOST:-registry.cfdata.org}/stash/cf/debian-images/bookworm/main:2025.7.0@sha256:6350da2f7e728dae2c1420f6dafc38e23cacc0b399d3d5b2f40fe48d9c8ff1ca
|
|
|
|
RUN apt-get update && \
|
|
apt-get upgrade -y && \
|
|
apt-get install --no-install-recommends --allow-downgrades -y \
|
|
build-essential \
|
|
git \
|
|
go-boring=1.24.6-1 \
|
|
libffi-dev \
|
|
procps \
|
|
python3-dev \
|
|
python3-pip \
|
|
python3-setuptools \
|
|
python3-venv \
|
|
# libmsi and libgcab are libraries the wixl binary depends on.
|
|
libmsi-dev \
|
|
libgcab-dev && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
# Install wixl
|
|
curl -o /usr/local/bin/wixl -L https://pkg.cloudflare.com/binaries/wixl && \
|
|
chmod a+x /usr/local/bin/wixl && \
|
|
mkdir -p opt
|
|
|
|
WORKDIR /opt
|