Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure we are upgrading to the latest version of image to avoid vulnerabilities #2019

Merged
merged 4 commits into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/owlbot/nodejs_mono_repo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ RUN tar -C /usr/local --strip-components=1 -xJf /tmp/nodejs.tar.xz
RUN rm -f /tmp/nodejs.tar.xz
ENV PATH "$PATH:/usr/local/bin"

###################### Install git.
RUN apt-get update && apt-get install -y git
###################### Install git and update image to latest.
RUN apt-get update && apt-get install -y git && apt-get upgrade -y

###################### Install synthtool's requirements.
COPY requirements.txt /synthtool/requirements.txt
Expand Down