#!/usr/bin/bash # Download and extract g10k wget -O /app/g10k.zip https://github.com/xorpaul/g10k/releases/download/v${PACKAGE_VERSION}/g10k-v${PACKAGE_VERSION}-linux-amd64.zip pushd /app unzip /app/g10k.zip popd # Build the RPM nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm