Created from https://github.com/MariaDB/mariadb-docker.git with the following changes (versions adjusted, example with 10.5.9):
diff --git a/10.5/Dockerfile b/10.5/Dockerfile index 79b1d3f..b3b27b7 100644 --- a/10.5/Dockerfile +++ b/10.5/Dockerfile @@ -1,5 +1,5 @@
-FROM ubuntu:focal +FROM debian:stable-slim
RUN groupadd -r mysql && useradd -r -g mysql mysql @@ -73,7 +73,7 @@ RUN set -ex; \
ENV MARIADB_MAJOR 10.5 -ENV MARIADB_VERSION 1:10.5.9+maria~focal +ENV MARIADB_VERSION 1:10.5.9-1
@@ -94,6 +94,7 @@ RUN set -ex;
echo "mariadb-server-$MARIADB_MAJOR" mysql-server/root_password password 'unused';
echo "mariadb-server-$MARIADB_MAJOR" mysql-server/root_password_again password 'unused';
} | debconf-set-selections; \
echo "deb http://deb.debian.org/debian testing main" >> /etc/apt/sources.list; \
apt-get update; \
apt-get install -y \
"mariadb-server=$MARIADB_VERSION" \
Content type
Image
Digest
Size
93.6 MB
Last updated
over 5 years ago
docker pull michalkeit/mariadb