From 3e17e368c80d420ddbf12141c1c5d7e1d99d6ac2 Mon Sep 17 00:00:00 2001 From: aptalca Date: Sat, 4 Feb 2023 14:51:44 -0500 Subject: [PATCH] rebase to lsio alpine 3.17 to fix builds --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ddcfac5..79664ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,16 @@ # Build container -FROM golang:alpine AS buildstage +FROM ghcr.io/linuxserver/baseimage-alpine:3.17 AS buildstage ARG CLOUDFLARED_TAG RUN mkdir -p /root-layer/cloudflared WORKDIR /src -RUN apk --no-cache add git build-base curl jq +RUN \ + apk add --no-cache \ + build-base \ + git \ + go ENV GO111MODULE=on \ CGO_ENABLED=0