mirror of
https://github.com/luzifer-docker/personal-dns.git
synced 2024-11-12 19:42:41 +00:00
21 lines
367 B
Bash
21 lines
367 B
Bash
|
#!/bin/bash
|
||
|
set -euxo pipefail
|
||
|
|
||
|
packages=(
|
||
|
github.com/Luzifer/bind-log-metrics
|
||
|
github.com/Luzifer/named-blacklist
|
||
|
github.com/Luzifer/rootzone
|
||
|
)
|
||
|
|
||
|
for pkg in "${packages[@]}"; do
|
||
|
targetdir="/go/src/${pkg}"
|
||
|
|
||
|
# Get sources
|
||
|
git clone "https://${pkg}.git" "${targetdir}"
|
||
|
|
||
|
# Go to directory and install util
|
||
|
pushd "${targetdir}"
|
||
|
go install -mod=readonly
|
||
|
popd
|
||
|
done
|