Skip to content

Commit b5c0ed4

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker/owlbot/nodejs/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
FROM python:3.10.12-bookworm
2020
WORKDIR /
2121

22+
RUN apt-get update && \
23+
apt-get upgrade -y
24+
2225
###################### Install nodejs.
2326
RUN curl https://nodejs.org/dist/v18.17.0/node-v18.17.0-linux-x64.tar.xz > /tmp/nodejs.tar.xz
2427
RUN tar -C /usr/local --strip-components=1 -xJf /tmp/nodejs.tar.xz

0 commit comments

Comments
 (0)