diff options
Diffstat (limited to 'mariadb-10.3/build.Dockerfile')
-rw-r--r-- | mariadb-10.3/build.Dockerfile | 20 |
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 + |