Fix CPU Arch.
This commit is contained in:
@@ -17,9 +17,8 @@ RUN adduser \
|
|||||||
--uid "${UID}" \
|
--uid "${UID}" \
|
||||||
"${USER}"
|
"${USER}"
|
||||||
|
|
||||||
|
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o /app/wiz-controller
|
RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags="-w -s" -o /app/wiz-controller
|
||||||
|
|
||||||
# Build Runtime Container.
|
# Build Runtime Container.
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|||||||
Reference in New Issue
Block a user