2019-08-06 15:57:13 +00:00
|
|
|
FROM arm32v7/debian:jessie
|
2017-08-30 15:00:57 +00:00
|
|
|
|
|
|
|
# Install all sdl, love (build) deps and love-linux-builder deps
|
2020-04-08 16:03:45 +00:00
|
|
|
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
|
2017-08-30 15:00:57 +00:00
|
|
|
|
2020-04-08 16:03:45 +00:00
|
|
|
# install the new stuff
|
|
|
|
RUN apt-get install -y luajit libsdl2-dev libopenal1 libluajit-5.1-dev
|
2019-08-04 11:51:18 +00:00
|
|
|
|
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
|
2019-08-06 15:57:13 +00:00
|
|
|
ENTRYPOINT ["/usr/bin/setarch", "armv7l", "/build/build.sh"]
|