refactor: replace all wget commands with curl
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.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
dnf install -y unzip
|
||||
|
||||
# Download and extract terraform
|
||||
wget -O /app/terraform.zip https://releases.hashicorp.com/terraform/${PACKAGE_VERSION}/terraform_${PACKAGE_VERSION}_linux_amd64.zip
|
||||
curl -o /app/terraform.zip https://releases.hashicorp.com/terraform/${PACKAGE_VERSION}/terraform_${PACKAGE_VERSION}_linux_amd64.zip
|
||||
unzip terraform.zip
|
||||
|
||||
# Build the RPM
|
||||
|
||||
Reference in New Issue
Block a user