Dockerfile 528 B

123456789101112131415161718192021
  1. FROM fedora:23
  2. MAINTAINER opus@xiph.org
  3. # Linux build.
  4. RUN dnf update -y
  5. RUN dnf install -y git gcc make wget xz
  6. RUN dnf install -y autoconf automake libtool pkgconfig
  7. # mingw cross build.
  8. RUN dnf install -y mingw32-gcc zip
  9. RUN dnf clean all
  10. RUN git clone https://git.xiph.org/opusfile.git
  11. WORKDIR opusfile
  12. RUN git pull
  13. RUN make -C mingw
  14. RUN ./autogen.sh && ./configure --host=i686-w64-mingw32 --prefix=${PWD}/mingw PKG_CONFIG_PATH=${PWD}/mingw/lib/pkgconfig && make && make check && make install
  15. RUN make -C mingw package