From d0374e74da45a4de621d794df0222470841209bb Mon Sep 17 00:00:00 2001 From: dustoair <107600816+dustoair@users.noreply.github.com> Date: Sun, 21 Aug 2022 12:18:38 +0800 Subject: [PATCH] amd64 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b63c862..f3b4708 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ build-linux-arm64: build-linux-amd64: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go mod tidy CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -v -a -o privoxy.bin main.go - docker build -t sre/goprivoxy:arm64 . + docker build -t sre/goprivoxy:amd64 . docker rm -f goprivoxy - docker run --name goprivoxy --restart always --net=host -d sre/goprivoxy:arm64 + docker run --name goprivoxy --restart always --net=host -d sre/goprivoxy:amd64 docker logs -f goprivoxy \ No newline at end of file