From 48da389796a310ab375250782dfde3355cfeb2ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Mon, 31 Jan 2022 04:58:26 -0800 Subject: [PATCH] Update base image to 3.15 --- Dockerfile | 2 +- README.md | 14 ++++---------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 71b8bb0..db7c56a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM harbor.ntppool.org/perlorg/base-os:3.14.2 +FROM harbor.ntppool.org/perlorg/base-os:3.15.0-1 ENV BUILD_VERSION 1 USER root WORKDIR /web diff --git a/README.md b/README.md index ecc984d..12ae4d1 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ ## 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 docker run -p 8000:80 --name static-misc \ -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 @@ -21,12 +21,6 @@ And then run `curl -H 'Host: i.perl.org' localhost` there. ## Production image -The "production image" is in https://quay.io/perl/static-web - the image -is "manually" built and pushed because I didn't want to give quay access -to all of this git repository. - - REV=v1.0 - IMAGE=quay.io/perl/static-web:$REV - docker build -t $IMAGE . && \ - docker push $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)