Skip to content

Commit d6c864f

Browse files
chensunGoogle Cloud Pipeline Components maintainers
authored andcommitted
chore(components): Update OS packages in GCPC container image
Signed-off-by: Chen Sun <[email protected]> PiperOrigin-RevId: 758746089
1 parent 0031766 commit d6c864f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/google-cloud/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ RUN apt update && apt -y install git python3 \
1818
python3-pip \
1919
python3-setuptools
2020

21+
# Patch the OS-level packages and remove unneeded dependencies to address
22+
# vulnerabilities.
23+
RUN apt update && apt -y upgrade
24+
RUN apt -y autoremove
25+
2126
WORKDIR /root
2227

2328
ENV PIP_BREAK_SYSTEM_PACKAGES=1

0 commit comments

Comments
 (0)