go build --ldflags '-s -w -linkmode external -extldflags "-static"' main.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
verse=$1 | |
stu=20 | |
tapf=/tmp/i3-tap | |
stepf=/tmp/i3-step | |
verf=/tmp/i3-verse | |
if [ ! -f $tapf ] ; then | |
echo `date +%s` > $tapf | |
fi |
apk add --update ca-certificates wget
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://raw.githubusercontent.com/sgerrand/alpine-pkg-glibc/master/sgerrand.rsa.pub
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.27-r0/glibc-2.27-r0.apk
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.27-r0/glibc-bin-2.27-r0.apk
apk add glibc-2.27-r0.apk glibc-bin-2.27-r0.apk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
KEYS=$(apt update 2>/dev/null | grep NO_PUBKEY | sed -r 's/.*NO_PUBKEY (.*)/\1/') | |
for k in $KEYS; do | |
apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys $k | |
done |
OlderNewer