From e17a2bfb35a1d76b9276199537396a64b86b1d00 Mon Sep 17 00:00:00 2001
From: Ralph Giles <giles@mozilla.com>
Date: Thu, 31 Dec 2015 17:26:39 -0800
Subject: [PATCH] mingw: Bump docker build to Fedora 21.

The version of mingw in Fedora 21 works as well.
This is the first version to depend on libwinpthread.

Also add an autogen.sh invocation which caused the previous
build to fail after the 'make check' barrier was removed.
---
 mingw/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mingw/Dockerfile b/mingw/Dockerfile
index 5080a79..eddbf08 100644
--- a/mingw/Dockerfile
+++ b/mingw/Dockerfile
@@ -1,4 +1,4 @@
-FROM fedora:20
+FROM fedora:21
 MAINTAINER opus@xiph.org
 
 # Linux build.
@@ -16,4 +16,4 @@ RUN git clone https://git.xiph.org/opusfile.git
 WORKDIR opusfile
 RUN git pull
 RUN make -C mingw
-RUN ./configure --host=i686-w64-mingw32 --prefix=${PWD}/mingw PKG_CONFIG_PATH=${PWD}/mingw/lib/pkgconfig && make && make check && make install
+RUN ./autogen.sh && ./configure --host=i686-w64-mingw32 --prefix=${PWD}/mingw PKG_CONFIG_PATH=${PWD}/mingw/lib/pkgconfig && make && make check && make install
-- 
GitLab