Skip to content

jometzner/wget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Repository on Quay

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.20 --version
Start wget to fetch for 3600 seconds
GNU Wget 1.21.3 built on linux-musl.

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