Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored May 23, 2024
1 parent 61316ec commit b0793f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:labs
FROM --platform=${BUILDPLATFORM} golang:1.22.3-alpine3.19 as build
FROM --platform=${BUILDPLATFORM} golang:1.22.3-alpine3.20 as build
ARG CLOUDFLARED_VERSION=2024.5.0

RUN apk upgrade --no-cache -a && \
Expand All @@ -17,7 +17,7 @@ RUN cd /src && \
GOARCH="$TARGETARCH" GOOS="$TARGETOS" make -j "$(nproc)" cloudflared LINK_FLAGS="-s -w" && \
file /src/cloudflared

FROM alpine:3.19.1
FROM alpine:3.20.0
COPY --from=zoeyvid/curl-quic:388 /usr/local/bin/curl /usr/local/bin/curl
RUN apk upgrade --no-cache -a && \
apk add --no-cache ca-certificates tzdata tini
Expand Down

0 comments on commit b0793f0

Please sign in to comment.