Standardize download commands across all build scripts: - HashiCorp packages: wget -O → curl -o - VictoriaMetrics packages: wget -O → curl -o - Other packages: wget -O → curl -o, wget → curl -O - Update dependency lists to use curl instead of wget This change provides consistency across all packages and uses a single download tool.
11 lines
325 B
Bash
Executable File
11 lines
325 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
# Install dependencies
|
|
dnf install -y unzip
|
|
|
|
# Download and extract packer
|
|
curl -o /app/packer.zip https://releases.hashicorp.com/packer/${PACKAGE_VERSION}/packer_${PACKAGE_VERSION}_linux_amd64.zip
|
|
unzip packer.zip
|
|
|
|
# Build the RPM
|
|
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm |