minecraft-pi-docker/Dockerfile

26 lines
603 B
Docker
Raw Normal View History

2020-09-25 16:43:53 +00:00
FROM arm64v8/debian:bullseye
RUN dpkg --add-architecture armhf
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y libglvnd-dev:armhf libsdl1.2-dev:armhf libx11-dev:armhf build-essential zlib1g-dev:armhf git cmake curl gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf gdb
RUN ln -s /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 /usr/lib/libGLESv2.so
RUN ln -s /usr/lib/arm-linux-gnueabihf/libEGL.so.1 /usr/lib/libEGL.so
ADD . /app
WORKDIR /app
2020-09-27 00:48:46 +00:00
RUN ./build/download-minecraft-pi.sh
2020-09-25 16:43:53 +00:00
2020-09-27 00:48:46 +00:00
RUN ./build/build-mods.sh
2020-09-25 16:43:53 +00:00
2020-09-27 00:48:46 +00:00
RUN ./build/build-libpng12.sh
2020-09-25 16:43:53 +00:00
2020-09-27 00:48:46 +00:00
WORKDIR ./minecraft-pi
2020-09-25 16:43:53 +00:00
ENTRYPOINT ./launcher