Skip to content

Commit

Permalink
fix: ensure we are upgrading to the latest version of image to avoid …
Browse files Browse the repository at this point in the history
…vulnerabilities (#2019)
  • Loading branch information
ldetmer authored Oct 4, 2024
1 parent b5c0ed4 commit e082ba7
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit e082ba7

Please sign in to comment.