|
|
@@ -1,4 +1,4 @@
|
|
|
|
# syntax=docker/dockerfile:1.24.0@sha256:87999aa3d42bdc6bea60565083ee17e86d1f3339802f543c0d03998580f9cb89
|
|
|
|
# syntax=docker/dockerfile:1.25.0@sha256:0adf442eae370b6087e08edc7c50b552d80ddf261576f4ebd6421006b2461f12
|
|
|
|
# =============================================================================
|
|
|
|
# =============================================================================
|
|
|
|
# Multi-architecture build
|
|
|
|
# Multi-architecture build
|
|
|
|
# =============================================================================
|
|
|
|
# =============================================================================
|
|
|
@@ -32,7 +32,7 @@ FROM --platform=$BUILDPLATFORM tonistiigi/xx:1.9.0@sha256:c64defb9ed5a91eacb37f9
|
|
|
|
# =============================================================================
|
|
|
|
# =============================================================================
|
|
|
|
# Stage 1: Build Tailscale combined binary (cross-compiled, runs natively)
|
|
|
|
# Stage 1: Build Tailscale combined binary (cross-compiled, runs natively)
|
|
|
|
# =============================================================================
|
|
|
|
# =============================================================================
|
|
|
|
FROM --platform=$BUILDPLATFORM golang:1.26.4-alpine@sha256:f1ddd9fe14fffc091dd98cb4bfa999f32c5fc77d2f2305ea9f0e2595c5437c14 AS builder
|
|
|
|
FROM --platform=$BUILDPLATFORM golang:1.26.4-alpine@sha256:3ad57304ad93bbec8548a0437ad9e06a455660655d9af011d58b993f6f615648 AS builder
|
|
|
|
|
|
|
|
|
|
|
|
# renovate: datasource=github-releases depName=tailscale packageName=tailscale/tailscale versioning=semver
|
|
|
|
# renovate: datasource=github-releases depName=tailscale packageName=tailscale/tailscale versioning=semver
|
|
|
|
ARG TAILSCALE_VERSION=v1.98.5
|
|
|
|
ARG TAILSCALE_VERSION=v1.98.5
|
|
|
@@ -303,7 +303,7 @@ RUN printf '%s\n' \
|
|
|
|
# only for this one lightweight probe step (busybox --help per applet), not
|
|
|
|
# only for this one lightweight probe step (busybox --help per applet), not
|
|
|
|
# for the compile itself. The probe can alternatively be skipped by using
|
|
|
|
# for the compile itself. The probe can alternatively be skipped by using
|
|
|
|
# a pre-enumerated applet list, but the current approach is simpler.
|
|
|
|
# a pre-enumerated applet list, but the current approach is simpler.
|
|
|
|
FROM --platform=$BUILDPLATFORM alpine:3.24.0@sha256:a2d49ea686c2adfe3c992e47dc3b5e7fa6e6b5055609400dc2acaeb241c829f4 AS busybox
|
|
|
|
FROM --platform=$BUILDPLATFORM alpine:3.24.1@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b AS busybox
|
|
|
|
|
|
|
|
|
|
|
|
# Copy xx cross-compilation helpers (xx-clang, xx-apk, xx-info, etc.)
|
|
|
|
# Copy xx cross-compilation helpers (xx-clang, xx-apk, xx-info, etc.)
|
|
|
|
COPY --from=xx / /
|
|
|
|
COPY --from=xx / /
|
|
|
|