Skip to content

Commit e082ba7

Browse files
authored
fix: ensure we are upgrading to the latest version of image to avoid vulnerabilities (#2019)
1 parent b5c0ed4 commit e082ba7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker/owlbot/nodejs_mono_repo/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ RUN tar -C /usr/local --strip-components=1 -xJf /tmp/nodejs.tar.xz
2626
RUN rm -f /tmp/nodejs.tar.xz
2727
ENV PATH "$PATH:/usr/local/bin"
2828

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

3232
###################### Install synthtool's requirements.
3333
COPY requirements.txt /synthtool/requirements.txt

0 commit comments

Comments
 (0)