Skip to content

Commit

Permalink
chore: change skaffold base image (GoogleContainerTools#8433)
Browse files Browse the repository at this point in the history
* chore: change skaffold base image

* fix: skaffold image dependencies install issues

* chore: add env

* chore: install curl in skaffold base image
  • Loading branch information
ericzzzzzzz authored Feb 16, 2023
1 parent 86b2f09 commit 6b3f673
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions deploy/skaffold/Dockerfile.deps
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ RUN \
sha256sum -c bazel.${ARCH}.sha256
RUN chmod +x bazel

FROM gcr.io/gcp-runtimes/ubuntu_20_0_4 as runtime_deps
FROM gcr.io/gke-release/debian-base:bullseye-v1.4.2-gke.8 as runtime_deps

RUN apt-get update && \
apt-get install --no-install-recommends --no-install-suggests -y \
Expand Down Expand Up @@ -151,7 +151,9 @@ RUN gcloud auth configure-docker && gcloud components install --quiet \
log-streaming

FROM runtime_deps
RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y \
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get dist-upgrade -y && apt-get install --no-install-recommends --no-install-suggests -y \
curl \
build-essential \
python-setuptools \
lsb-release \
Expand Down
6 changes: 4 additions & 2 deletions deploy/skaffold/Dockerfile.deps.lts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ RUN \
RUN tar -zxf gcloud.tar.gz


FROM gcr.io/gcp-runtimes/ubuntu_20_0_4 as runtime_deps
FROM gcr.io/gke-release/debian-base:bullseye-v1.4.2-gke.8 as runtime_deps

RUN apt-get update && \
apt-get install --no-install-recommends --no-install-suggests -y \
Expand All @@ -95,7 +95,9 @@ RUN gcloud auth configure-docker && gcloud components install --quiet \
log-streaming

FROM runtime_deps
RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y \
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get dist-upgrade -y && apt-get install --no-install-recommends --no-install-suggests -y \
curl \
build-essential \
python-setuptools \
lsb-release \
Expand Down
6 changes: 4 additions & 2 deletions deploy/skaffold/Dockerfile.deps.slim
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ RUN \
RUN tar -zxf gcloud.tar.gz


FROM gcr.io/gcp-runtimes/ubuntu_20_0_4 as runtime_deps
FROM gcr.io/gke-release/debian-base:bullseye-v1.4.2-gke.8 as runtime_deps

RUN apt-get update && \
apt-get install --no-install-recommends --no-install-suggests -y \
Expand All @@ -95,7 +95,9 @@ RUN gcloud auth configure-docker && gcloud components install --quiet \
log-streaming

FROM runtime_deps
RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y \
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get dist-upgrade -y && apt-get install --no-install-recommends --no-install-suggests -y \
curl \
build-essential \
python-setuptools \
lsb-release \
Expand Down

0 comments on commit 6b3f673

Please sign in to comment.