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

Commit

Permalink
update secman cli docker image dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed May 5, 2022
1 parent c0bd4dc commit 6aeffc9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docker/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,17 @@ RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y npm nodejs
RUN apt-get install -y curl sudo wget unzip

RUN curl -sL https://u.secman.dev | bash
### nodejs & npm ###
RUN curl -sL https://deb.nodesource.com/setup_17.x -o nodesource_setup.sh && \
bash nodesource_setup.sh && \
apt-get nodejs build-essential -y && \
rm -rf nodesource_setup.sh && \
apt-get update
RUN npm i -g npm@latest

RUN npm i -g secman
RUN npm i -g @secman/scc

RUN secman init

ENTRYPOINT ["secman"]
Expand Down

0 comments on commit 6aeffc9

Please sign in to comment.