Skip to content

Commit 4aa8054

Browse files
lwizchzsaelo
authored andcommitted
Update Dockerfile
1 parent 0bdb574 commit 4aa8054

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Cloud/Docker/DuktapeBuilder/Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ ENV DEBIAN_FRONTEND=noninteractive
44
ENV SHELL=bash
55

66
RUN apt-get -y update && apt-get -y upgrade
7-
RUN apt-get install -y git make clang bc python-pip
7+
RUN apt-get install -y git make clang bc curl python-pip nodejs npm
8+
9+
# Update NodeJS and NPM to the latest versions
10+
RUN npm install -g n
11+
RUN n latest
12+
RUN npm install -g npm
813

914
# Dependency of the duktape build process
1015
RUN pip install pyyaml
@@ -21,6 +26,9 @@ RUN git pull && git checkout $rev
2126
# Update system packages first
2227
RUN apt-get -y update && apt-get -y upgrade
2328

29+
# Make normally to pull down NodeJS deps
30+
RUN make
31+
2432
# Assume that the current master branch maintains duk-fuzzilli
2533
# No need to patch, as the fuzz target is maintained in the duktape repo
2634
# Start building!

0 commit comments

Comments
 (0)