Dockerfile 528 Bytes
Newer Older
1
FROM fedora:24
2 3 4
MAINTAINER opus@xiph.org

# Linux build.
5 6
RUN dnf update -y
RUN dnf install -y git gcc make wget xz
7
RUN dnf install -y autoconf automake libtool pkgconfig
8 9

# mingw cross build.
10
RUN dnf install -y mingw32-gcc zip
11

12
RUN dnf clean all
13 14 15 16 17 18

RUN git clone https://git.xiph.org/opusfile.git

WORKDIR opusfile
RUN git pull
RUN make -C mingw
19
RUN ./autogen.sh && ./configure --host=i686-w64-mingw32 --prefix=${PWD}/mingw PKG_CONFIG_PATH=${PWD}/mingw/lib/pkgconfig && make && make check && make install
20
RUN make -C mingw package