Skip to content

Commit

Permalink
[v1.48.x][Interop] Revert Phusion and use apt upgrade
Browse files Browse the repository at this point in the history
This fixes the build failure and security advisories.
  • Loading branch information
eugeneo committed Jul 26, 2023
1 parent 45e438f commit 4576cdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM phusion/baseimage:master@sha256:65ea10d5f757e5e86272625f8675d437dd83d8db64bdb429e2354d58f5462750

RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get install -y \
build-essential \
clang \
Expand All @@ -22,7 +23,7 @@ COPY --from=0 /artifacts ./
ENV GRPC_VERBOSITY="DEBUG"
ENV GRPC_TRACE="xds_client,xds_resolver,xds_cluster_manager_lb,cds_lb,xds_cluster_resolver_lb,priority_lb,xds_cluster_impl_lb,weighted_target_lb,ring_hash_lb"

RUN apt-get update -y && apt-get install -y python3
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y python3
RUN ln -s /usr/bin/python3 /usr/bin/python

ENTRYPOINT ["/xds_interop_client"]
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM phusion/baseimage:master@sha256:65ea10d5f757e5e86272625f8675d437dd83d8db64bdb429e2354d58f5462750

RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get install -y \
build-essential \
clang \
Expand All @@ -22,7 +23,7 @@ COPY --from=0 /artifacts ./
ENV GRPC_VERBOSITY="DEBUG"
ENV GRPC_TRACE="xds_client,xds_resolver,xds_cluster_manager_lb,cds_lb,xds_cluster_resolver_lb,priority_lb,xds_cluster_impl_lb,weighted_target_lb"

RUN apt-get update -y && apt-get install -y python3
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y python3
RUN ln -s /usr/bin/python3 /usr/bin/python

ENTRYPOINT ["/xds_interop_server"]

0 comments on commit 4576cdf

Please sign in to comment.