2024-01-27 11:20:40 +01:00
|
|
|
|
|
|
|
release: deps
|
2024-01-28 15:31:58 +01:00
|
|
|
CGO_ENABLED=1 go build -buildvcs=true .
|
2024-01-27 11:20:40 +01:00
|
|
|
|
|
|
|
dev:
|
|
|
|
go build .
|
|
|
|
./podterminal
|
|
|
|
|
|
|
|
deps:
|
|
|
|
go mod download
|
|
|
|
go mod tidy
|
|
|
|
|
2024-01-28 15:31:58 +01:00
|
|
|
install:
|
|
|
|
mv podterminal /usr/local/bin/podterminal
|
|
|
|
mkdir -p /etc/podterminal
|
|
|
|
useradd -r -s /bin/false podterminal
|
|
|
|
install -m 644 ./exampleconfig.yaml /etc/podterminal/config.yaml
|