GONK can run as a downloaded binary, a Docker container, or a locally built Go binary.
Use the latest GitHub Release for prebuilt binaries:
https://github.com/JustVugg/gonk/releases/latest
Release archives include gonk, the gateway server, and gonk-cli, the operator CLI.
After installing, validate a config and run operational checks:
gonk-cli validate -c gonk.yaml
gonk-cli doctor -c gonk.yamlDownload the archive for your CPU:
gonk_<version>_linux_amd64.tar.gzfor most servers and desktops.gonk_<version>_linux_arm64.tar.gzfor ARM edge devices and Raspberry Pi-class hardware.
Install:
VERSION=1.2.1
tar -xzf "gonk_${VERSION}_linux_amd64.tar.gz"
cd "gonk_${VERSION}_linux_amd64"
chmod +x gonk gonk-cli
./gonk -version
./gonk-cli --versionOptional system install:
sudo install -m 0755 gonk /usr/local/bin/gonk
sudo install -m 0755 gonk-cli /usr/local/bin/gonk-cliDownload:
gonk_<version>_windows_amd64.zipfor most Windows machines.gonk_<version>_windows_arm64.zipfor Windows on ARM.
PowerShell:
$Version = "1.2.1"
Expand-Archive ".\gonk_${Version}_windows_amd64.zip"
cd ".\gonk_${Version}_windows_amd64"
.\gonk.exe -version
.\gonk-cli.exe --versionRun with a config file:
.\gonk.exe -config .\gonk.example.yamlDownload:
gonk_<version>_darwin_amd64.tar.gzfor Intel Macs.gonk_<version>_darwin_arm64.tar.gzfor Apple Silicon.
VERSION=1.2.1
tar -xzf "gonk_${VERSION}_darwin_arm64.tar.gz"
cd "gonk_${VERSION}_darwin_arm64"
chmod +x gonk gonk-cli
./gonk -version
./gonk-cli --versionmacOS may require allowing the downloaded binaries in System Settings because they are not notarized yet.
If a container image has been published for the release:
docker pull ghcr.io/justvugg/gonk:v1.2.1Run with a local config:
docker run --rm -p 8080:8080 \
-v "$PWD/configs/gonk.production.yaml:/etc/gonk/gonk.yaml:ro" \
--env-file .env \
ghcr.io/justvugg/gonk:v1.2.1Requirements: Go 1.21+ and Make.
git clone https://github.com/JustVugg/gonk
cd gonk
make build
./bin/gonk -version
./bin/gonk-cli --versionBuild all release packages locally:
make package-release VERSION=1.2.1The archives are written to dist/.