Last active
March 18, 2019 18:42
-
-
Save doggy8088/b6b3e1ac896f55d3c8edde90247df7c5 to your computer and use it in GitHub Desktop.
no-more-secrets's Dockerfile https://github.com/bartobri/no-more-secrets
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
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