#!/usr/bin/bash # Download the CA certificate from vault curl -o /app/UNKIN_ROOTCA_2024.crt https://vault.query.consul:8200/v1/pki_root/ca/pem # Build the RPM nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm