2021-01-17 22:39:01 +01:00
|
|
|
FROM debian/eol:wheezy
|
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y \
|
|
|
|
software-properties-common \
|
2022-03-26 23:57:02 +01:00
|
|
|
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
|
2021-01-17 22:39:01 +01:00
|
|
|
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 \
|
2022-03-26 23:57:02 +01:00
|
|
|
&& echo checkout 10.3.34 \
|
2021-03-25 23:24:24 +01:00
|
|
|
&& git fetch \
|
2022-03-26 23:57:02 +01:00
|
|
|
&& git checkout mariadb-10.3.34 \
|
|
|
|
&& git checkout mariadb-10.3.28 debian/control \
|
|
|
|
&& git checkout mariadb-10.3.30 cmake/submodules.cmake
|
2021-01-17 22:39:01 +01:00
|
|
|
RUN cd server \
|
|
|
|
&& ./debian/autobake-deb.sh
|
|
|
|
|