Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

fix: unable to build multi-platform image

goenning3d635b57606a
diff --git a/Dockerfile b/Dockerfile
index e5199d7d1..92d4bb5ef 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,7 +12,7 @@ COPY go.mod go.sum ./
RUN go mod download
COPY . ./
-RUN COMMITHASH=${COMMITHASH} GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:-amd64} make build-server
+RUN COMMITHASH=${COMMITHASH} GOOS=${TARGETOS} GOARCH=${TARGETARCH} make build-server
#################
### UI Build Step