Skip to content

Instantly share code, notes, and snippets.

@gdamjan
Last active January 11, 2023 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdamjan/b23ca215d07232975a9eae7e4feed3cc to your computer and use it in GitHub Desktop.
Save gdamjan/b23ca215d07232975a9eae7e4feed3cc to your computer and use it in GitHub Desktop.
compile soju & znc-playback for ubuntu 22.04

podman run -v $PWD:/exfiltrate --rm -it ubuntu:22.04

export DEBIAN_FRONTEND=noninteractive
apt update
apt upgrade -y
apt install -y --no-install-recommends git ca-certificates golang gcc make libsqlite3-dev scdoc

git clone https://git.sr.ht/~emersion/soju
cd soju
make GOFLAGS="-tags=libsqlite3"

strip --strip-unneeded soju sojuctl
cp soju sojuctl /exfiltrate

podman run -v $PWD:/exfiltrate --rm -it ubuntu:22.04

export DEBIAN_FRONTEND=noninteractive
apt update
apt upgrade -y
apt install -y git znc-dev make

git clone https://github.com/jpnurmi/znc-playback
cd znc-playback
make

strip --strip-unneeded playback.so
cp playback.so /exfiltrate
@gdamjan
Copy link
Author

gdamjan commented Mar 8, 2022

gamja:

git pull
rm -rf dist/
npm ci
npm run build
rsync -av --delete --exclude config.json --exclude favicon.ico dist/ scaleway:/srv/gamja/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment