Skip to content

Commit

Permalink
fix: ensure we are upgrading image to avoid vulnerabilities (#2018)
Browse files Browse the repository at this point in the history
ensure we are upgrading to the latest version of packages to avoid vunerabilities
  • Loading branch information
ldetmer authored Oct 4, 2024
1 parent c19dd80 commit b5c0ed4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/owlbot/nodejs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
FROM python:3.10.12-bookworm
WORKDIR /

RUN apt-get update && \
apt-get upgrade -y

###################### Install nodejs.
RUN curl https://nodejs.org/dist/v18.17.0/node-v18.17.0-linux-x64.tar.xz > /tmp/nodejs.tar.xz
RUN tar -C /usr/local --strip-components=1 -xJf /tmp/nodejs.tar.xz
Expand Down

0 comments on commit b5c0ed4

Please sign in to comment.