summaryrefslogtreecommitdiffstats
path: root/mariadb-10.3/build.Dockerfile
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2022-03-26 23:57:02 +0100
committerlookshe <github@lookshe.org>2022-03-26 23:57:02 +0100
commitea0de2c8f1d8dfff399f24b46049554b4b2ad6d7 (patch)
tree87c38455ace8537513b629c14f5f54d13da22252 /mariadb-10.3/build.Dockerfile
parent73a6fa123dbf504bf180569bf67b346d38007695 (diff)
update mariadb to 10.3.34
Diffstat (limited to '')
-rw-r--r--mariadb-10.3/build.Dockerfile18
1 files changed, 13 insertions, 5 deletions
diff --git a/mariadb-10.3/build.Dockerfile b/mariadb-10.3/build.Dockerfile
index 6fdaae1..d362443 100644
--- a/mariadb-10.3/build.Dockerfile
+++ b/mariadb-10.3/build.Dockerfile
@@ -3,7 +3,15 @@ FROM debian/eol:wheezy
RUN apt-get update \
&& apt-get install -y \
software-properties-common \
- devscripts
+ devscripts \
+ dh-exec \
+ wget
+RUN wget https://cmake.org/files/v2.8/cmake-2.8.12.1.tar.gz
+RUN tar xzf cmake-2.8.12.1.tar.gz
+RUN cd cmake-2.8.12.1 \
+ && ./bootstrap \
+ && make \
+ && make install
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
@@ -11,11 +19,11 @@ 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 \
+ && echo checkout 10.3.34 \
&& git fetch \
- && git checkout mariadb-10.4.18
-RUN apt-get update \
- && apt-get install -y \
- dh-exec
+ && git checkout mariadb-10.3.34 \
+ && git checkout mariadb-10.3.28 debian/control \
+ && git checkout mariadb-10.3.30 cmake/submodules.cmake
RUN cd server \
&& ./debian/autobake-deb.sh