Last active
September 26, 2019 00:04
-
-
Save goncalor/4a01ecd068d98eed18bf94664e50b96d to your computer and use it in GitHub Desktop.
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
FROM debian:stable-slim | |
RUN apt update \ | |
&& apt install -y chromium curl unzip \ | |
&& rm -rf /var/lib/apt/lists/* | |
#RUN useradd -m -d /app user | |
WORKDIR /app | |
RUN curl -L -o file.zip \ | |
$(curl -s https://api.github.com/repos/michenriksen/aquatone/releases \ | |
| grep browser_download_url | grep amd64 | head -n1 \ | |
| awk '{print $2}' | tr -d '"') | |
RUN unzip file.zip && rm file.zip | |
RUN apt purge -y curl unzip | |
#USER user | |
ENTRYPOINT ["./aquatone"] | |
# usage: | |
# cat targets.txt | docker run --rm -i -v $PWD/outdir:/mnt aquatone -out /mnt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment