Skip to content

Instantly share code, notes, and snippets.

@goncalor
Last active September 26, 2019 00:04
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 goncalor/4a01ecd068d98eed18bf94664e50b96d to your computer and use it in GitHub Desktop.
Save goncalor/4a01ecd068d98eed18bf94664e50b96d to your computer and use it in GitHub Desktop.
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