Skip to content

Commit fc5c6cf

Browse files
authored
Merge pull request #3 from robusta-dev/remove-cves
[MAIN-1886] Remove cves
2 parents 318ca9c + 4bc1d33 commit fc5c6cf

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

Dockerfile

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@ RUN apt-get update \
3131
unzip \
3232
&& rm -rf /var/lib/apt/lists/*
3333

34-
# Install Google Cloud SDK and Gcloud Auth Plugin
35-
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list \
36-
&& curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
37-
38-
RUN apt-get update \
39-
&& apt-get install -y google-cloud-sdk google-cloud-sdk-gke-gcloud-auth-plugin \
40-
&& rm -rf /var/lib/apt/lists/*
41-
34+
# Install Google cli so kubectl works w/ gke clusters
35+
RUN curl https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz > /tmp/google-cloud-sdk.tar.gz
36+
RUN mkdir -p /usr/local/gcloud \
37+
&& tar -C /usr/local/gcloud -xvf /tmp/google-cloud-sdk.tar.gz \
38+
&& /usr/local/gcloud/google-cloud-sdk/install.sh
39+
ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin
40+
RUN gcloud components install gke-gcloud-auth-plugin
41+
RUN gcloud components remove gcloud-crc32c
42+
RUN rm /tmp/google-cloud-sdk.tar.gz
4243
# Install AWS CLI
4344
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
4445
&& unzip awscliv2.zip \

poetry.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ types-toml = "^0.10.2"
2424
toml = "^0.10.2"
2525
hikaru-model-28 = "^1.1.0"
2626
kubernetes = "^29"
27+
urllib3 = "^1.26.19"
2728

2829

2930
[build-system]

0 commit comments

Comments
 (0)