love-linux-builder/docker/Dockerfile-i686

18 lines
841 B
Plaintext

FROM i386/debian:jessie
# Install all sdl, love (build) deps and love-linux-builder deps
RUN apt-get update && apt-get install -y build-essential cmake libibus-1.0-dev libasound2-dev libpulse-dev libfreetype6-dev libopenal-dev libmodplug-dev libvorbis-dev libtheora-dev libphysfs-dev libmpg123-dev squashfs-tools curl mercurial libfuse2 autotools-dev automake libtool pkg-config libdevil-dev
# install the new stuff
RUN apt-get install -y luajit libsdl2-dev libopenal1 libluajit-5.1-dev
# Add the build script
ADD build.sh /build/
# Add the volumes, the first the love-linux-builder (mandatory), the second the love source (optional)
RUN mkdir -p /build/love-linux-builder /build/love
VOLUME /build/love-linux-builder /build/love
# Finally, set the build script as entrypoint
ENTRYPOINT ["/usr/bin/setarch", "i686", "/build/build.sh"]