Quick Docker image for running wget

When you're on a Mac and it's faster to make a one-off Docker image than deal with homebrew

Create a file called Dockerfile:

FROM alpine:latest

RUN apk add wget && mkdir /www


From within that directory, build a docker image called wget

docker build . --tag wget:latest

Run it, mapping the current directory to the container working directory:

docker run --rm -it -v $(pwd)/:/www wget:latest \
  --mirror --convert-links --adjust-extension \
  --page-requisites --no-parent https://example.com