mxe_openarena_builder/Dockerfile
browsing at commit = ee9a56104989d6547145c79c71e06015fb68f3bc
FROM sago007/mxe_basic
MAINTAINER poul@poulsander.com
RUN apt-get update && apt-get install -y mxe-i686-w64-mingw32.static-vorbis mxe-i686-w64-mingw32.static-sdl2 mxe-i686-w64-mingw32.static-sdl2 mxe-i686-w64-mingw32.static-openal zip
RUN adduser --disabled-password --gecos "OpenArena user" openarena && \
mkdir -p /data && chmod 777 /data && \
mkdir -p /staging && chmod 777 /staging
VOLUME ["/data"]
COPY engine_compile_script.sh /opt/
#ADD http://files.poulsander.com/~poul19/public_files/libxmp-4.3.13.tar.gz /tmp/
#RUN chmod 666 /tmp/libxmp-4.3.13.tar.gz
#This does not create a correct static library. We likely need to generate a new configure file that supports cross compiling static libraries or libxmp needs a fix.
#RUN cd /tmp && tar -xzf libxmp-4.3.13.tar.gz && cd libxmp* && ./configure --host=i686-w64-mingw32.static --enable-static --disable-shared && make && cp /tmp/libxmp-4.3.13/lib/libxmp.a /usr/lib/mxe/usr/i686-w64-mingw32.static/lib/
USER openarena