Uncompacted dockerfile
This commit is contained in:
parent
2bd1957998
commit
f0ef21d999
2 changed files with 24 additions and 6 deletions
|
@ -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 \
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue