Compare commits

...

8 Commits
v2.0.1 ... main

Author SHA1 Message Date
fc0b8cfbea Alpine 3.20.2 (Apache 2.4.62-r0)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-08-22 00:27:22 -07:00
5a064a882a Alpine 3.19.1 (same apache version)
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-08 21:55:23 -08:00
b2369ba59c Alpine 3.19.0 (Apache 2.4.58-r1)
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-16 12:08:33 -08:00
e6b4191542 Check for ready file every 5 seconds instead of every 10
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-15 20:32:24 -07:00
35ebb8599c Alpine 3.17.3 (Apache 2.4.56)
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-07 01:22:25 -07:00
bedfc5d3d6 Alpine 3.17.0 (Apache 2.4.54)
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-07 00:22:20 -08:00
48da389796 Update base image to 3.15
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-31 04:58:26 -08:00
53d8dc7c26 Alpine 3.14.2 base
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-18 11:11:42 -07:00
3 changed files with 6 additions and 12 deletions

View File

@ -1,4 +1,4 @@
FROM harbor.ntppool.org/perlorg/base-os:3.13.5-1 FROM harbor.ntppool.org/perlorg/base-os:3.20.2
ENV BUILD_VERSION 1 ENV BUILD_VERSION 1
USER root USER root
WORKDIR /web WORKDIR /web

View File

@ -2,12 +2,12 @@
## Test locally ## Test locally
docker build -t quay.io/perl/static-web:v1.2.0 . docker build -t static-web:1 .
git clone git@git.develooper.com:perl-static-misc.git git git clone git@git.develooper.com:perl-static-misc.git git
docker run -p 8000:80 --name static-misc \ docker run -p 8000:80 --name static-misc \
-v `pwd`/git:/git/static -v `pwd`/config:/web/config \ -v `pwd`/git:/git/static -v `pwd`/config:/web/config \
-ti --rm quay.io/perl/static-web:v1.2.0 -ti --rm static-web:1
Test with Test with
@ -21,12 +21,6 @@ And then run `curl -H 'Host: i.perl.org' localhost` there.
## Production image ## Production image
The "production image" is in https://quay.io/perl/static-web - the image The "production image" is at harbor.ntppool.org/library/static-web:latest
is "manually" built and pushed because I didn't want to give quay access (or rather tagged with the most recent version, for example 2.2.0)
to all of this git repository.
REV=v1.0
IMAGE=quay.io/perl/static-web:$REV
docker build -t $IMAGE . && \
docker push $IMAGE

View File

@ -4,7 +4,7 @@ set -ex
if [ ! -z "$READY_FILE" ]; then if [ ! -z "$READY_FILE" ]; then
while [ ! -e $READY_FILE ]; do while [ ! -e $READY_FILE ]; do
echo waiting for $READY_FILE echo waiting for $READY_FILE
sleep 10 sleep 5
done done
fi fi