joshuar-go-hass-agent/.devcontainer/postCreate.sh

17 lines
631 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# Install libraries for all supported arches
sudo ./build/scripts/enable-multiarch all
sudo ./build/scripts/install-build-deps all
# Install go build packages
go install golang.org/x/tools/cmd/stringer@latest
go install golang.org/x/text/cmd/gotext@latest
go install github.com/matryer/moq@0bf2e8a069abaefdfd07e4902d204441cca17298
go install github.com/tomwright/dasel/v2/cmd/dasel@5d94a3049c2e81a410a6f48cf084c86c98393797
go install github.com/sigstore/cosign/v2/cmd/cosign@fb651b4ddd8176bd81756fca2d988dd8611f514d
go install github.com/magefile/mage@9e91a03eaa438d0d077aca5654c7757141536a60
exit 0