Skip to content

Commit f544907

Browse files
committed
chore(dockerfile): rm redundant platform paramater
1 parent d605e16 commit f544907

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$TARGETPLATFORM uozi/nginx-ui-base:latest
1+
FROM uozi/nginx-ui-base:latest
22
ARG TARGETOS
33
ARG TARGETARCH
44
ARG TARGETVARIANT

demo.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# 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
2-
FROM --platform=$TARGETPLATFORM uozi/nginx-ui-base:latest
2+
FROM uozi/nginx-ui-base:latest
33
ARG TARGETOS
44
ARG TARGETARCH
55
ARG TARGETVARIANT

0 commit comments

Comments
 (0)