From fbd64e0d1c003f6c628d5f0aaaee72503cdf08eb Mon Sep 17 00:00:00 2001 From: rebron1900 Date: Sun, 31 Dec 2023 12:39:33 +0800 Subject: [PATCH] build docker v2.5 --- etc/dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etc/dockerfile b/etc/dockerfile index ff56220..1d5ed73 100644 --- a/etc/dockerfile +++ b/etc/dockerfile @@ -1,8 +1,7 @@ -FROM golang:1.21.5-alpine AS build +FROM golang:alpine AS build RUN apk add build-base git WORKDIR /src COPY . . -ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE" RUN make build_linux FROM alpine:latest