Make (very) old archive URLs work again
http://archive.develooper.com/advocacy@perl.org/msg00012.html etc
This commit is contained in:
parent
be85af9f36
commit
c1ea86cbbd
@ -3,7 +3,7 @@ USER root
|
|||||||
WORKDIR /web
|
WORKDIR /web
|
||||||
VOLUME /git
|
VOLUME /git
|
||||||
VOLUME /web/config
|
VOLUME /web/config
|
||||||
RUN apk update; apk add apache2
|
RUN apk update; apk add apache2 apache2-utils
|
||||||
RUN mkdir /run/apache2; chown apache /run/apache2
|
RUN mkdir /run/apache2; chown apache /run/apache2
|
||||||
RUN ln -s /dev/stderr /var/log/apache2/error.log
|
RUN ln -s /dev/stderr /var/log/apache2/error.log
|
||||||
RUN ln -s /dev/stdout /var/log/apache2/access.log
|
RUN ln -s /dev/stdout /var/log/apache2/access.log
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
## Test locally
|
## Test locally
|
||||||
|
|
||||||
docker build -t quay.io/perl/static-web:v0.1 .
|
docker build -t quay.io/perl/static-web:v0.3 .
|
||||||
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 -n 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:v0.1
|
-ti --rm quay.io/perl/static-web:v0.3
|
||||||
|
|
||||||
Test with
|
Test with
|
||||||
|
|
||||||
|
@ -8,5 +8,13 @@ if [ ! -z "$READY_FILE" ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -z "$PRESTART_SCRIPT" ]; then
|
||||||
|
if [ ! -e "$PRESTART_SCRIPT" ]; then
|
||||||
|
echo configured prestart script "$PRESTART_SCRIPT" is missing
|
||||||
|
else
|
||||||
|
$PRESTART_SCRIPT
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
exec httpd -DFOREGROUND -e info
|
exec httpd -DFOREGROUND -e info
|
||||||
#exec httpd -DFOREGROUND -e debug
|
#exec httpd -DFOREGROUND -e debug
|
||||||
|
Loading…
Reference in New Issue
Block a user