2 Commits

Author SHA1 Message Date
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
2 changed files with 5 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
FROM harbor.ntppool.org/perlorg/base-os:3.14.2 FROM harbor.ntppool.org/perlorg/base-os:3.17.0
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