Skip to content

Commit

Permalink
Upgrade cloudflared to 2024.1.2, use Cloudflare Go
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisa committed Jan 12, 2024
1 parent b7cfb61 commit 6a40972
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@ FROM --platform=${BUILDPLATFORM} \
golang:$GOVERSION-alpine${ALPINEVERSION} AS build

WORKDIR /src
RUN apk --no-cache add git build-base
RUN apk --no-cache add git build-base bash

ENV GO111MODULE=on \
CGO_ENABLED=0

ARG VERSION=2023.10.0
ARG VERSION=2024.1.2
RUN git clone https://github.com/cloudflare/cloudflared --depth=1 --branch ${VERSION} .
ARG TARGETOS
ARG TARGETARCH
RUN bash -x .teamcity/install-cloudflare-go.sh
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} make cloudflared

# Runtime container
Expand Down

0 comments on commit 6a40972

Please sign in to comment.