chore(dockerfile): rm redundant platform paramater

This commit is contained in:
Jacky 2024-12-17 11:06:30 +08:00
parent d605e16a15
commit f544907dbf
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
# CGO_ENABLED=1 GOOS=linux CC=x86_64-unknown-linux-gnu-gcc CXX=x86_64-unknown-linux-gnu-g++ GOARCH=amd64 go build -ldflags "-X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go
FROM --platform=$TARGETPLATFORM uozi/nginx-ui-base:latest
FROM uozi/nginx-ui-base:latest
ARG TARGETOS
ARG TARGETARCH
ARG TARGETVARIANT