Uncompacted dockerfile

This commit is contained in:
Greyscale 2023-01-04 13:19:33 +01:00
parent 2bd1957998
commit f0ef21d999
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2
2 changed files with 24 additions and 6 deletions

View file

@ -1,4 +1,4 @@
ARG MARIADB_VERSION=10.9
ARG MARIADB_VERSION
FROM mariadb:$MARIADB_VERSION AS mariadb
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ENV DEBIAN_FRONTEND="teletype" \
@ -8,8 +8,9 @@ RUN echo "APT::Acquire::Retries \"5\";" > /etc/apt/apt.conf.d/80-retries && \
echo "Acquire::http::No-Cache=true;" > /etc/apt/apt.conf.d/80-no-cache && \
echo "Acquire::http::Pipeline-Depth=0;" > /etc/apt/apt.conf.d/80-no-pipeline && \
apt-get -qq update && \
apt-get -yqq upgrade && \
apt-get -yqq install --no-install-recommends \
apt-get -yqq upgrade
RUN apt-get -yqq install --no-install-recommends \
nano \
curl \
xz-utils \
@ -17,9 +18,9 @@ RUN echo "APT::Acquire::Retries \"5\";" > /etc/apt/apt.conf.d/80-retries && \
runit \
python3-software-properties \
software-properties-common \
&& \
add-apt-repository -y ppa:ondrej/php && \
apt-get -qq update && \
add-apt-key
RUN add-apt-repository ppa:ondrej/php
RUN apt-get -qq update && \
apt-get -yqq install --no-install-recommends \
#php8.1-apcu \
php8.1-bcmath \

View file

@ -71,6 +71,23 @@ services:
volumes:
- ./:/sync
mariadb-10.7:
image: benzine/mysql:10.7
build:
context: .
dockerfile: Dockerfile.mariadb
target: mariadb
args:
MARIADB_VERSION: 10.7
environment:
<<: *mariadb
ports:
- "127.0.0.127:3306:3306"
depends_on:
- minio
volumes:
- ./:/sync
mariadb-10.3:
image: benzine/mysql:10.3
build: