koehn/fetchurl

By koehn

Updated 6 months ago

A simple image for performing an HTTP GET request on a URL.

Image
Networking
Developer Tools

100K+

This is a very simple image that given a URL in the URL environment variable, will perform an HTTP GET request and print the results. It's useful for running web-based cron jobs, for example in Nextcloud. Built into a custom application in a distroless container for small size and better security.

Sample Usage

docker run --rm -e URL=https://example.com/cron.php  koehn/fetchurl 

Source

Full source code is available from my git.

Docker Pull Command

docker pull koehn/fetchurl