Skip to content
This repository was archived by the owner on Sep 9, 2022. It is now read-only.

Commit 6aeffc9

Browse files
committed
update secman cli docker image dockerfile
1 parent c0bd4dc commit 6aeffc9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docker/cli/Dockerfile

+11-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,17 @@ RUN apt-get update -y && apt-get upgrade -y
88
RUN apt-get install -y npm nodejs
99
RUN apt-get install -y curl sudo wget unzip
1010

11-
RUN curl -sL https://u.secman.dev | bash
11+
### nodejs & npm ###
12+
RUN curl -sL https://deb.nodesource.com/setup_17.x -o nodesource_setup.sh && \
13+
bash nodesource_setup.sh && \
14+
apt-get nodejs build-essential -y && \
15+
rm -rf nodesource_setup.sh && \
16+
apt-get update
17+
RUN npm i -g npm@latest
18+
19+
RUN npm i -g secman
20+
RUN npm i -g @secman/scc
21+
1222
RUN secman init
1323

1424
ENTRYPOINT ["secman"]

0 commit comments

Comments
 (0)