Executes wget in a timeboxed fashion. That means it uses timeout to run wget with a time limit of x seconds.
timeout - determines the default time limit to be used if no environment SECS is passed at container runtime.
git clone git@github.com:jometzner/wget.git
docker build wget -t test:local❯ docker run --rm 31099/wget:alpine-3.22 --version
Start wget to fetch for 3600 seconds
GNU Wget 1.25.0 built on linux-musl.Run docker image wget tag alpine-3.22 from my docker hub account to print version information. The value of time limit of 3600 seconds is the image default that you can override via --env SECS=10
❯ docker run --env SECS=10 --rm 31099/wget:alpine-3.22 --version
Start wget to fetch for 10 seconds
GNU Wget 1.25.0 built on linux-musl.