From 0a9e39ed75663f9618e3c07f12bc9ea1a30448fd Mon Sep 17 00:00:00 2001 From: liwei Date: Sat, 30 Mar 2024 11:00:14 +0800 Subject: [PATCH] ci: fix Dockerfile InDocker flag --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1af5ea05..e5d5ea84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ COPY . . COPY --from=flutter /app/build/web ./cmd/web/dist ARG VERSION=dev RUN CGO_ENABLED=0 go build -tags nosqlite,web \ - -ldflags="-s -w -X github.com/GopeedLab/gopeed/pkg/base.Version=$VERSION -X github.com/GopeedLab/gopeed/pkg/base.InDocker=$IN_DOCKER" \ + -ldflags="-s -w -X github.com/GopeedLab/gopeed/pkg/base.Version=$VERSION -X github.com/GopeedLab/gopeed/pkg/base.InDocker=true" \ -o dist/gopeed github.com/GopeedLab/gopeed/cmd/web FROM alpine:3.14.2