Move complex download commands from Dockerfiles to build.sh scripts for consistency: - pgbouncer_exporter, bind_exporter, exportarr, node_exporter, postgres_exporter: GitHub downloads - vmagent, vmalert: VictoriaMetrics vmutils downloads - vminsert, vmselect, vmstorage: VictoriaMetrics cluster downloads All Dockerfiles now follow the simple template pattern with download logic properly contained in build scripts.
7 lines
332 B
Bash
Executable File
7 lines
332 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
# Download the required files
|
|
curl --output - -L https://github.com/prometheus-community/pgbouncer_exporter/releases/download/v${PACKAGE_VERSION}/pgbouncer_exporter-${PACKAGE_VERSION}.linux-amd64.tar.gz | tar --strip-components=1 -xzf -
|
|
|
|
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|