mirror of
https://github.com/juanfont/headscale.git
synced 2026-07-08 00:50:20 +09:00
f585f8a94d
Track nixpkgs staging-next-26.05 for prebuilt Go 1.26.4 (security GO-2026-5037/5039; unstable still ships 1.26.3, lagging the staging pipeline). Bump go.mod, refresh deps (tailscale.com v1.100.0, modernc sqlite v1.52.0 with libc lockstep), test Dockerfiles, vendor hash.
20 lines
499 B
Docker
20 lines
499 B
Docker
# For testing purposes only
|
|
|
|
FROM golang:1.26.4-alpine AS build-env
|
|
|
|
WORKDIR /go/src
|
|
|
|
RUN apk add --no-cache git
|
|
ARG VERSION_BRANCH=main
|
|
RUN git clone https://github.com/tailscale/tailscale.git --branch=$VERSION_BRANCH --depth=1
|
|
WORKDIR /go/src/tailscale
|
|
|
|
ARG TARGETARCH
|
|
RUN GOARCH=$TARGETARCH go install -v ./cmd/derper
|
|
|
|
FROM alpine:3.23
|
|
RUN apk add --no-cache ca-certificates iptables iproute2 ip6tables curl
|
|
|
|
COPY --from=build-env /go/bin/* /usr/local/bin/
|
|
ENTRYPOINT [ "/usr/local/bin/derper" ]
|