summaryrefslogtreecommitdiffstats
path: root/mariadb-10.3/build.Dockerfile
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2021-01-17 22:39:01 +0100
committerlookshe <github@lookshe.org>2021-01-17 22:39:01 +0100
commitdc3bcf0351d362770754ad0a2997d878435e9fb1 (patch)
tree347e8fe71f721e61e920980b05ca545bde5fb4b0 /mariadb-10.3/build.Dockerfile
parent5524b3dc0ce997db20d5679ff02c3b9ebe197454 (diff)
add latest mariadb 10.3 for wheezy
Diffstat (limited to 'mariadb-10.3/build.Dockerfile')
-rw-r--r--mariadb-10.3/build.Dockerfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/mariadb-10.3/build.Dockerfile b/mariadb-10.3/build.Dockerfile
new file mode 100644
index 0000000..253fb2d
--- /dev/null
+++ b/mariadb-10.3/build.Dockerfile
@@ -0,0 +1,20 @@
+FROM debian/eol:wheezy
+
+RUN apt-get update \
+ && apt-get install -y \
+ software-properties-common \
+ devscripts
+RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 CBCB082A1BB943DB
+RUN echo "deb http://mirror2.hs-esslingen.de/mariadb/repo/10.3/debian wheezy main" >> /etc/apt/sources.list
+RUN echo "deb-src http://mirror2.hs-esslingen.de/mariadb/repo/10.3/debian wheezy main" >> /etc/apt/sources.list
+RUN apt-get update \
+ && apt-get build-dep -y mariadb-server-10.3
+RUN git clone https://github.com/MariaDB/server.git
+RUN cd server \
+ && git checkout mariadb-10.3.27
+RUN apt-get update \
+ && apt-get install -y \
+ dh-exec
+RUN cd server \
+ && ./debian/autobake-deb.sh
+