Sign inSign up

31099/wget

By 31099

Updated about 1 year ago

Executes wget in a timeboxed fashion.

Image
Integration & delivery
Developer tools
2

10M+

31099/wget repository overview

Purpose

Executes wget in a timeboxed fashion. That means it uses timeout to run wget with a time limit of x seconds.

Build arguments

timeout - determines the default time limit to be used if no environment SECS is passed at container runtime.

Build instructions

git clone [email protected]:jometzner/wget.git
docker build wget -t test:local

Usage example

❯ docker run --rm 31099/wget:alpine-3.18 --version
Start wget to fetch for 3600 seconds
GNU Wget 1.21.4 built on linux-musl.

Run docker image wget tag alpine-3.18 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.18 --version
Start wget to fetch for 10 seconds
GNU Wget 1.21.4 built on linux-musl.

Tag summary

Content type

Image

Digest

sha256:5ccc66fb7

Size

5 MB

Last updated

about 1 year ago

docker pull 31099/wget