mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
- Removes the swift DerivedData cache. This was added to attempt to speed up the Swift builds in CI but in reality, those are already fast and the cache did not speed them up. - Removes the runner.os/arch specifier from the Webview installer cache key. The binary download is hardcoded for a specific windows version / arch already so the cache key just adds unneeded complexity. These caches are getting saved on PR runs which consumes excess GHA cache storage.
28 lines
873 B
Docker
28 lines
873 B
Docker
# This Dockerfile can be used to build an xdp-tools debug image we can pull on the Relays
|
|
# to help debugging our eBPF XDP TURN server.
|
|
#
|
|
# An image has already been built and pushed at us-east1-docker.pkg.dev/firezone-staging/firezone/xdp-tools:latest
|
|
# To update it:
|
|
# > docker buildx build -f Dockerfile.xdp-tools -t us-east1-docker.pkg.dev/firezone-staging/firezone/xdp-tools:latest --platform linux/amd64,linux/arm64 .
|
|
# > docker push us-east1-docker.pkg.dev/firezone-staging/firezone/xdp-tools:latest
|
|
|
|
# See https://github.com/xdp-project/xdp-tools for more information.
|
|
|
|
FROM alpine:latest
|
|
|
|
RUN apk add --no-cache --update \
|
|
git \
|
|
clang \
|
|
pkgconfig \
|
|
autoconf \
|
|
make \
|
|
m4 \
|
|
libbpf-dev \
|
|
libpcap-dev \
|
|
linux-headers
|
|
|
|
RUN git clone https://github.com/xdp-project/xdp-tools.git
|
|
RUN cd xdp-tools && ./configure && make && make install
|
|
|
|
ENTRYPOINT ["/bin/sh"]
|