From 5ec0afc1b2810bce85172357fec26e2498175a4c Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Thu, 14 Sep 2023 16:47:00 +0200 Subject: [PATCH] updated apt state --- states/apt/templates/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/states/apt/templates/build.sh b/states/apt/templates/build.sh index 12f637e..c9afa04 100644 --- a/states/apt/templates/build.sh +++ b/states/apt/templates/build.sh @@ -1,3 +1,5 @@ +#!/usr/bin/env zsh + for arch in amd64 arm64 do docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp -e GO111MODULE=auto -e GOOS=linux -e GOARCH=${arch} golang:buster sh -c "go get github.com/pion/mdns && go get golang.org/x/net/ipv4 && go build -o apt_${arch} apt.go"