static-web container
Go to file
Ask Bjørn Hansen fc0b8cfbea
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Alpine 3.20.2 (Apache 2.4.62-r0)
2024-08-22 00:27:22 -07:00
.drone.yml Add drone config 2021-10-18 10:01:39 -07:00
Dockerfile Alpine 3.20.2 (Apache 2.4.62-r0) 2024-08-22 00:27:22 -07:00
README.md Update base image to 3.15 2022-01-31 04:58:26 -08:00
run-httpd Check for ready file every 5 seconds instead of every 10 2023-06-15 20:32:24 -07:00

static-misc

Test locally

docker build -t static-web:1 .
git clone git@git.develooper.com:perl-static-misc.git git

docker run -p 8000:80 --name static-misc \
   -v `pwd`/git:/git/static -v `pwd`/config:/web/config \
   -ti --rm static-web:1

Test with

curl -H 'Host: i.perl.org' localhost:8000

To get a shell in the container run

docker exec -ti static-misc bash

And then run curl -H 'Host: i.perl.org' localhost there.

Production image

The "production image" is at harbor.ntppool.org/library/static-web:latest (or rather tagged with the most recent version, for example 2.2.0)