Created
October 15, 2017 06:51
-
-
Save MrThreat/b814b4193f45e20d20851c7371d24a02 to your computer and use it in GitHub Desktop.
Yararule generator | Dockerfile!
This file contains hidden or 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
# yaragen Dockerfile | |
# | |
# make sure to have this file called "Dockerfile" without quotes. | |
# docker build -t yaragen . | |
# docker run --rm -ti yaragen -h | |
# Pull the base image. | |
FROM ubuntu:16.04 | |
# Install pre-requisites. | |
RUN apt update && apt install -y git python | |
#cleaning cache | |
RUN rm -rf /var/lib/apt/lists/* | |
#pulling code | |
RUN git clone https://github.com/Xen0ph0n/YaraGenerator.git | |
RUN chmod +x /YaraGenerator/yaraGenerator.py | |
#creating insert point on launch | |
ENTRYPOINT ["/YaraGenerator/yaraGenerator.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment