diff --git a/mxe_blockattack/Dockerfile b/mxe_blockattack/Dockerfile index bcda342..1408e69 100644 --- a/mxe_blockattack/Dockerfile +++ b/mxe_blockattack/Dockerfile @@ -14,4 +14,13 @@ RUN apt-get update && \ mxe-i686-w64-mingw32.static-freetype \ mxe-i686-w64-mingw32.static-zlib \ zip + +RUN mkdir -p /staging/deps && cd /staging/deps && curl http://icculus.org/physfs/downloads/physfs-3.0.2.tar.bz2 | tar -jx && cd physfs-3.0.2 && ls -lrt \ +&& cd /staging/deps/physfs-3.0.2 \ +&& i686-w64-mingw32.static-cmake . -DPHYSFS_BUILD_STATIC=TRUE \ + -DPHYSFS_BUILD_SHARED=FALSE \ + -DPHYSFS_INTERNAL_ZLIB=FALSE \ + -DPHYSFS_BUILD_TEST=FALSE \ +-DPHYSFS_BUILD_WX_TEST=FALSE && make && make install + COPY build_it.sh /