mirror of
https://github.com/Retropex/dockerfile-deps.git
synced 2025-05-13 00:40:41 +02:00
Fix cloudflare multiarch build
This commit is contained in:
parent
3292b58f0c
commit
b70a4ddce6
@ -1,4 +1,6 @@
|
||||
FROM --platform=$BUILDPLATFORM golang:1.23.0 AS builder
|
||||
|
||||
ARG TARGETARCH
|
||||
ENV GO111MODULE=on \
|
||||
CGO_ENABLED=0 \
|
||||
CLOUDFLARED_VERSION=2024.8.2
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
echo "$(/sbin/ip route|awk '/default/ { print $3 }') host.docker.internal" >> /etc/hosts
|
||||
|
||||
exec cloudflared --no-autoupdate "$@"
|
||||
exec cloudflared --no-autoupdate "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user