Skip to content

Instantly share code, notes, and snippets.

@doggy8088
Last active March 18, 2019 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doggy8088/b6b3e1ac896f55d3c8edde90247df7c5 to your computer and use it in GitHub Desktop.
Save doggy8088/b6b3e1ac896f55d3c8edde90247df7c5 to your computer and use it in GitHub Desktop.
no-more-secrets's Dockerfile https://github.com/bartobri/no-more-secrets
FROM ubuntu as buildenv
WORKDIR /
RUN sed -e 's/http:\/\/archive.ubuntu.com\/ubuntu\//http:\/\/ftp.cse.yzu.edu.tw\/ubuntu\//g' -i /etc/apt/sources.list
RUN apt-get update && apt-get install build-essential git -y
RUN git clone https://github.com/bartobri/no-more-secrets.git
WORKDIR /no-more-secrets
RUN make nms
RUN make sneakers ## Optional
RUN make install
FROM ubuntu
COPY --from=buildenv /usr/local/bin/nms /usr/local/bin/
COPY --from=buildenv /usr/local/bin/sneakers /usr/local/bin/
ENTRYPOINT [ "nms" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment