From d82a83cca1897e0ecac3488f3743c7f16faf2997 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Fri, 23 Aug 2024 15:21:06 +0800 Subject: [PATCH] chore: remove unused env --- zabbixagent.dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zabbixagent.dockerfile b/zabbixagent.dockerfile index b0cfc35..7e34a0b 100644 --- a/zabbixagent.dockerfile +++ b/zabbixagent.dockerfile @@ -2,7 +2,7 @@ FROM golang:1.23 AS builder WORKDIR /build COPY . ./ RUN GOPROXY=https://goproxy.cn go mod download -RUN PROFILE=dev CGO_ENABLED=0 GOARCH=amd64 GOOS=linux go build -o out/app +RUN CGO_ENABLED=0 GOARCH=amd64 GOOS=linux go build -o out/app FROM zabbix/zabbix-agent2:ubuntu-7.0-latest COPY --from=builder /build/out/app /usr/sbin/zabbix-agent2-plugin/onvif-agent