@@ -37,8 +37,6 @@ ENV LANG="C.UTF-8" \
3737 CLOUDSDK_PYTHON="/usr/bin/python3" \
3838# https://github.com/sgarciac/fuego/releases
3939 FUEGO_VERSION="0.35.0" \
40- # https://github.com/GoogleCloudPlatform/gcr-cleaner/releases
41- GCR_CLEANER_VERSION="0.12.2" \
4240# https://github.com/golangci/golangci-lint/releases
4341 GOLANGCI_LINT_VERSION="2.10.1" \
4442# https://github.com/terraform-docs/terraform-docs/releases
@@ -53,7 +51,6 @@ FROM base AS amd64
5351ENV AWS_CLI_URL="https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" \
5452 FUEGO_URL="https://github.com/sgarciac/fuego/archive/refs/tags/${FUEGO_VERSION}.tar.gz" \
5553 GCLOUD_URL="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-linux-x86_64.tar.gz" \
56- GCR_CLEANER_URL="https://github.com/GoogleCloudPlatform/gcr-cleaner/releases/download/v${GCR_CLEANER_VERSION}/gcr-cleaner-cli_${GCR_CLEANER_VERSION}_linux_amd64.tar.gz" \
5754 GOLANGCI_LINT_URL="https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCI_LINT_VERSION}/golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz" \
5855 HCLOUD_URL="https://github.com/hetznercloud/cli/releases/latest/download/hcloud-linux-amd64.tar.gz" \
5956 OPA_URL="https://github.com/open-policy-agent/opa/releases/latest/download/opa_linux_amd64_static" \
@@ -68,7 +65,6 @@ FROM base AS arm64
6865ENV AWS_CLI_URL="https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" \
6966 FUEGO_URL="https://github.com/sgarciac/fuego/archive/refs/tags/${FUEGO_VERSION}.tar.gz" \
7067 GCLOUD_URL="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-linux-arm.tar.gz" \
71- GCR_CLEANER_URL="https://github.com/GoogleCloudPlatform/gcr-cleaner/releases/download/v${GCR_CLEANER_VERSION}/gcr-cleaner-cli_${GCR_CLEANER_VERSION}_linux_arm64.tar.gz" \
7268 GOLANGCI_LINT_URL="https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCI_LINT_VERSION}/golangci-lint-${GOLANGCI_LINT_VERSION}-linux-arm64.tar.gz" \
7369 HCLOUD_URL="https://github.com/hetznercloud/cli/releases/latest/download/hcloud-linux-arm64.tar.gz" \
7470 OPA_URL="https://github.com/open-policy-agent/opa/releases/latest/download/opa_linux_arm64_static" \
@@ -137,7 +133,7 @@ RUN uname -m && \
137133 pip3 install ansible && \
138134 pip3 install ansible-core && \
139135 pip3 install ansible-lint && \
140- # AWS CLI (https://github.com/GoogleCloudPlatform/gcr-cleaner )
136+ # AWS CLI ()
141137 echo "AWS CLI URL: '$AWS_CLI_URL'" && \
142138 curl -L "$AWS_CLI_URL" -o "awscliv2.zip" && \
143139 unzip -qq "awscliv2.zip" && \
@@ -173,11 +169,6 @@ RUN uname -m && \
173169 ln -s "/usr/bin/google-cloud-sdk/bin/gcloud-crc32c" "/usr/bin/gcloud-crc32c" && \
174170 ln -s "/usr/bin/google-cloud-sdk/bin/git-credential-gcloud.sh" "/usr/bin/git-credential-gcloud.sh" && \
175171 ln -s "/usr/bin/google-cloud-sdk/bin/gsutil" "/usr/bin/gsutil" && \
176- # GCR Cleaner (https://github.com/GoogleCloudPlatform/gcr-cleaner)
177- echo "GCR Cleaner URL: '$GCR_CLEANER_URL'" && \
178- curl -L "$GCR_CLEANER_URL" -o "gcr-cleaner-cli.tar.gz" && \
179- tar -C "/usr/bin/" -xf "gcr-cleaner-cli.tar.gz" "gcr-cleaner-cli" && \
180- rm "gcr-cleaner-cli.tar.gz" && \
181172# golangci-lint (https://golangci-lint.run/)
182173 echo "golangci-lint URL: '$GOLANGCI_LINT_URL'" && \
183174 curl -L "$GOLANGCI_LINT_URL" -o "golangci-lint.tar.gz" && \
@@ -247,7 +238,6 @@ RUN uname -m && \
247238 flake8 --version && \
248239 fuego --version && \
249240 gcloud --version && \
250- gcr-cleaner-cli -version && \
251241 golangci-lint --version && \
252242 git --version && \
253243 go version && \
0 commit comments