File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ set shell := ["bash", "-uc"]
33arch := ` uname -m | sed ' s/x86_64/amd64/;s/aarch64/arm64/' `
44GO_VERSION := env_var_or_default (" GO_VERSION" , " 1.25.1" )
55TARGETARCH := env_var_or_default (" TARGETARCH" , arch )
6- IMAGE := env_var_or_default (" JUST_IMAGE" , " just-dev :latest" )
6+ IMAGE := env_var_or_default (" JUST_IMAGE" , " just:latest" )
77CONTAINER_CMD := env_var_or_default (" JUST_CONTAINER_CMD" , " bash" )
88WASSETTE_REF := env_var_or_default (" WASSETTE_REF" , " main" )
99WASSETTE_REF_TYPE := env_var_or_default (" WASSETTE_REF_TYPE" , " branch" )
@@ -135,8 +135,9 @@ install-gradle: install-java apt-update
135135 #!/usr/bin/env bash
136136 set -euxo pipefail
137137 GRADLE_VERSION=" 8.11.1"
138- apt-get install -y --no-install-recommends wget unzip
139- wget -q -O / tmp/ gradle.zip " https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip"
138+ apt-get install -y --no-install-recommends curl unzip
139+ curl -fsSL --retry 3 --retry-delay 2 --retry-all-errors \
140+ - o / tmp/ gradle.zip " https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip"
140141 unzip -q / tmp/ gradle.zip -d / opt
141142 ln -sf " /opt/gradle-${GRADLE_VERSION}/bin/gradle" / usr/ local/ bin/ gradle
142143 rm / tmp/ gradle.zip
You can’t perform that action at this time.
0 commit comments