Update hardware.Dockerfile

This commit is contained in:
Sergey Krashevich
2023-05-04 22:45:39 +03:00
committed by GitHub
parent e89c5cb429
commit 981974eac9
+7 -1
View File
@@ -12,7 +12,13 @@ FROM ngrok/ngrok:${NGROK_VERSION} AS ngrok
# 1. Build go2rtc binary
FROM go AS build
FROM --platform=$BUILDPLATFORM go AS build
ARG TARGETPLATFORM
ARG TARGETOS
ARG TARGETARCH
ENV GOOS=${TARGETOS}
ENV GOARCH=${TARGETARCH}
WORKDIR /build