Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ case `uname -m` in
;;
esac

tarball="$(curl 'https://pkgs.tailscale.com/stable/?mode=json' | jq -r .Tarballs.${GOARCH})"
tarball="$(wget -qO- 'https://pkgs.tailscale.com/stable/?mode=json' | jq -r .Tarballs.${GOARCH})"
version="$(echo ${tarball} | cut -d_ -f2)"

curl "https://pkgs.tailscale.com/stable/${tarball}" -o tailscale.tgz
wget "https://pkgs.tailscale.com/stable/${tarball}" -O tailscale.tgz

tar xzf tailscale.tgz

Expand Down
2 changes: 2 additions & 0 deletions root/etc/s6-overlay/s6-rc.d/init-mod-universal-tailscale/run
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
if [ -f /usr/bin/apt ]; then
echo "\
jq \
wget \
iptables" >> /mod-repo-packages-to-install.list

fi
# Alpine
if [ -f /sbin/apk ]; then
echo "\
jq \
wget \
iptables" >> /mod-repo-packages-to-install.list
fi