-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: upgrade pstree to remove vulnerability
Fixes #1463 Fixes #1469 Fixes #1464 Completely removes the old method of `pstree[.remy]` and drops the event-stream vuln at the same time.
- Loading branch information
Showing
5 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ issues/ | |
.github/ | ||
website/ | ||
*.md | ||
Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# | ||
# Ubuntu Node.js Dockerfile | ||
# | ||
# https://github.com/dockerfile/ubuntu/blob/master/Dockerfile | ||
# https://docs.docker.com/examples/nodejs_web_app/ | ||
# | ||
|
||
# Pull base image. | ||
FROM ubuntu:16.04 | ||
|
||
RUN apt-get update && apt-get install -y curl locales && rm -rf /var/lib/apt/lists/* \ | ||
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 | ||
ENV LANG en_US.utf8 | ||
|
||
# Install Node.js | ||
RUN curl --silent --location https://deb.nodesource.com/setup_10.x | bash - | ||
RUN apt-get install --yes nodejs build-essential | ||
|
||
# Install app dependencies | ||
RUN npm install -g npx | ||
|
||
# Bundle app source | ||
# Trouble with COPY http://stackoverflow.com/a/30405787/2926832 | ||
# COPY . /src | ||
|
||
WORKDIR /src | ||
|
||
|
||
# Binds to port 8080 | ||
# EXPOSE 8080 | ||
|
||
# Defines your runtime(define default command) | ||
# These commands unlike RUN (they are carried out in the construction of the container) are run when the container | ||
#CMD ["node", "/src/http.js"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
docker build -t nodemon-test-env . | ||
docker run --mount type=bind,source=/Users/remy/Sites/nodemon,target=/src/nodemon --name nodemon-test-env --rm -it nodemon-test-env bash | ||
|
||
# node /nodemon-src/bin/nodemon.js -V http.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters