FROM amd64/debian:oldstable # 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 luajit libsdl2-dev libopenal1 libluajit-5.1-dev flatpak 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", "x86_64", "/build/build.sh"]