File tree Expand file tree Collapse file tree
internal/servicedeployer/_static Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM --platform=linux/amd64 ubuntu:20 .04
2- ENV GCLOUD_SDK_VERSION 370 .0.0-0
3- ENV TERRAFORM_VERSION 1.1.4
1+ FROM --platform=linux/amd64 ubuntu:24 .04
2+ ENV GCLOUD_SDK_VERSION=467 .0.0-0
3+ ENV TERRAFORM_VERSION=1.9.6
44
55RUN apt-get -qq update \
6- && apt-get install -yq curl apt-transport-https ca-certificates gnupg
6+ && apt-get install -yq curl apt-transport-https ca-certificates gnupg \
7+ && apt-get clean
78
89RUN 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 \
9- && curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - \
10+ && curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg \
1011 && apt-get update -qq \
11- && apt-get install google-cloud-sdk=${GCLOUD_SDK_VERSION} -yq
12+ && apt-get install google-cloud-sdk=${GCLOUD_SDK_VERSION} -yq \
13+ && apt-get clean
1214
13- RUN echo "deb [arch=amd64] https://apt.releases.hashicorp.com focal main" | tee -a /etc/apt/sources.list.d/hashicorp.list \
14- && curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - \
15- && apt-get -qq update \
16- && apt-get install -yq terraform=${TERRAFORM_VERSION}
15+ RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg \
16+ && echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com noble main" | tee /etc/apt/sources.list.d/hashicorp.list \
17+ && apt-get update -qq \
18+ && apt-get install -yq terraform=${TERRAFORM_VERSION}-1 \
19+ && apt-get clean
1720
1821HEALTHCHECK --timeout=3s CMD sh -c "[ -f /tmp/tf-applied ]"
1922
You can’t perform that action at this time.
0 commit comments