diff options
author | Gabe Kangas <gabek@real-ity.com> | 2021-03-07 21:02:25 -0800 |
---|---|---|
committer | Gabe Kangas <gabek@real-ity.com> | 2021-03-07 21:02:25 -0800 |
commit | e713852c67b7aa6545375f301777dcf5a022bf24 (patch) | |
tree | 907e6506f87d3522be69ad9c70078ac4134be277 | |
parent | 89cf92640c3d87838a6f3d7a46e016c2df8835a3 (diff) |
Fix Dockerfile to pass along the correct platform name
-rw-r--r-- | build/release/Dockerfile-build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/release/Dockerfile-build b/build/release/Dockerfile-build index f6450ff28..f2d8c9e05 100644 --- a/build/release/Dockerfile-build +++ b/build/release/Dockerfile-build @@ -13,7 +13,7 @@ ENV GIT_COMMIT=${GIT_COMMIT} ARG NAME ENV NAME=${NAME} -RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -ldflags "-extldflags \"-static\" -s -w -X main.GitCommit=$GIT_COMMIT -X main.BuildVersion=$VERSION -X main.BuildType=$NAME" -o owncast . +RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -ldflags "-extldflags \"-static\" -s -w -X main.GitCommit=$GIT_COMMIT -X main.BuildVersion=$VERSION -X main.BuildPlatform=$NAME" -o owncast . # Create the image by copying the result of the build into a new alpine image FROM alpine |