Fix bullseye mysql build

This commit is contained in:
Jan Dittberner 2022-02-12 10:11:27 +01:00
parent 8f164a541a
commit 5cf034d07c
3 changed files with 6 additions and 1 deletions

View file

@ -4,7 +4,7 @@ set -e
for dist in jessie_php5 stretch_php7 buster_php7 bullseye_php7; do for dist in jessie_php5 stretch_php7 buster_php7 bullseye_php7; do
docker build --pull -t gnuviech/${dist}-base ${dist} -f ${dist}/Dockerfile-base docker build --pull -t gnuviech/${dist}-base ${dist} -f ${dist}/Dockerfile-base
docker build --no-cache -t gnuviech/${dist} ${dist} -f ${dist}/Dockerfile docker build -t gnuviech/${dist} ${dist} -f ${dist}/Dockerfile
docker build -t gnuviech/${dist}-mysql ${dist} -f ${dist}/Dockerfile-mysql docker build -t gnuviech/${dist}-mysql ${dist} -f ${dist}/Dockerfile-mysql
docker build -t gnuviech/${dist}-pgsql ${dist} -f ${dist}/Dockerfile-pgsql docker build -t gnuviech/${dist}-pgsql ${dist} -f ${dist}/Dockerfile-pgsql
done done

View file

@ -5,9 +5,11 @@ VOLUME /srv
RUN apt-get update \ RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive \ && DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
ca-certificates \
dumb-init \ dumb-init \
libnss-ldap \ libnss-ldap \
nullmailer \ nullmailer \
openssl \
php-mail-mime \ php-mail-mime \
php-net-smtp \ php-net-smtp \
php-net-socket \ php-net-socket \
@ -19,11 +21,13 @@ RUN apt-get update \
php7.4-gd \ php7.4-gd \
php7.4-imagick \ php7.4-imagick \
php7.4-imap \ php7.4-imap \
php7.4-intl \
php7.4-json \ php7.4-json \
php7.4-mbstring \ php7.4-mbstring \
php7.4-opcache \ php7.4-opcache \
php7.4-pspell \ php7.4-pspell \
php7.4-sqlite3 \ php7.4-sqlite3 \
php7.4-zip \
psmisc \ psmisc \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/*.* && rm -rf /var/lib/apt/lists/*.*

View file

@ -4,6 +4,7 @@ LABEL maintainer="jan@dittberner.info"
RUN apt-get update \ RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive \ && DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
php7.4-dba \
php7.4-mysql \ php7.4-mysql \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/*.* && rm -rf /var/lib/apt/lists/*.*