File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,16 @@ RUN apt-get update && apt-get install --no-install-recommends -y gzip wget git j
34
34
&& curl -ksLO https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 && chmod 755 get-helm-3 \
35
35
&& ./get-helm-3 --version v$helm_version --no-sudo \
36
36
# AWS
37
- && curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${aws_cli_version}.zip" -o "awscliv2.zip" \
37
+ && architecture=$(uname -m) \
38
+ && curl "https://awscli.amazonaws.com/awscli-exe-linux-${architecture}-${aws_cli_version}.zip" -o "awscliv2.zip" \
38
39
&& unzip awscliv2.zip \
39
40
&& ./aws/install \
40
41
# AZURE
41
42
&& curl -sL https://aka.ms/InstallAzureCLIDeb | bash \
42
43
# GCP
43
44
&& echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list \
44
45
&& curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - \
45
- && apt-get update && apt-get install --no-install-recommends -y google-cloud-cli:amd64 =${gcp_cli_version} \
46
+ && apt-get update && apt-get install --no-install-recommends -y google-cloud-cli:* =${gcp_cli_version} \
46
47
&& apt-get install --no-install-recommends -y google-cloud-sdk-gke-gcloud-auth-plugin \
47
48
&& apt-get clean \
48
49
&& rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments