forked from toolshed/abra
Preliminary makefile support for building inside docker
This commit is contained in:
19
build-docker-inside.sh
Executable file
19
build-docker-inside.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
if [ ! -f .envrc ]; then
|
||||
. .envrc.sample
|
||||
else
|
||||
. .envrc
|
||||
fi
|
||||
git config --global --add safe.directory /abra # work around funky file permissions
|
||||
|
||||
# fixme for some reason we need to do this
|
||||
go get coopcloud.tech/abra/pkg/upstream/commandconn
|
||||
go get github.com/sirupsen/logrus@v1.9.3
|
||||
go get github.com/cloudflare/circl/dh/x25519@v1.3.3
|
||||
go get github.com/mattn/go-runewidth@v0.0.14
|
||||
go get go get coopcloud.tech/abra/pkg/config
|
||||
go get github.com/mattn/go-colorable@v0.1.12
|
||||
go get coopcloud.tech/abra/pkg/config
|
||||
#
|
||||
|
||||
make build
|
Reference in New Issue
Block a user