mirror of
https://github.com/luzifer-docker/personal-dns.git
synced 2024-12-30 01:11:19 +00:00
20 lines
367 B
Bash
20 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
|