love-linux-builder/docker/Dockerfile-x86_64

18 lines
902 B
Plaintext
Raw Normal View History

2020-04-08 14:18:46 +00:00
FROM amd64/debian:oldstable
2017-08-30 15:00:57 +00:00
# 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
2017-08-30 15:00:57 +00:00
# install the new stuff
RUN apt-get install -y luajit libsdl2-dev libopenal1 libluajit-5.1-dev
2017-08-30 15:00:57 +00:00
# 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"]