static-misc: use sqlite instead of dbm for archive

(the dbm module isn't included anymore in Alpine 3.13)
This commit is contained in:
Ask Bjørn Hansen 2021-05-21 00:27:36 -07:00
parent ed2c6d9041
commit a22d77c7e4

View File

@ -1,11 +1,11 @@
FROM quay.io/perl/base-os:v3.11.6 FROM harbor.ntppool.org/perlorg/base-os:3.13.5-1
ENV BUILD_VERSION 1 ENV BUILD_VERSION 1
USER root USER root
WORKDIR /web WORKDIR /web
VOLUME /git VOLUME /git
VOLUME /web/config VOLUME /web/config
RUN apk --no-cache upgrade RUN apk --no-cache upgrade
RUN apk --no-cache add apache2 apache2-utils apache2-proxy apache2-ssl apr-util-dbm_db RUN apk --no-cache add apache2 apache2-utils apache2-proxy apache2-ssl apr-util-dbd_sqlite3 sqlite
#RUN mkdir /run/apache2; chown apache:apache /run/apache2 #RUN mkdir /run/apache2; chown apache:apache /run/apache2
RUN mv /etc/apache2/conf.d/proxy.conf /etc/apache2/conf.d/proxy.conf.disabled RUN mv /etc/apache2/conf.d/proxy.conf /etc/apache2/conf.d/proxy.conf.disabled
RUN ln -s /dev/stderr /var/log/apache2/error.log RUN ln -s /dev/stderr /var/log/apache2/error.log