minecraft-pi-reborn/Dockerfile.client

31 lines
606 B
Docker
Raw Normal View History

2020-11-26 02:17:40 +00:00
FROM arm32v7/debian:bullseye
2020-09-25 16:43:53 +00:00
2020-11-11 15:22:14 +00:00
# Install Dependencies
2020-10-04 20:45:00 +00:00
RUN \
apt-get update && \
2020-11-26 02:17:40 +00:00
apt-get install -y libglvnd-dev libsdl1.2-dev libx11-dev build-essential cmake zlib1g-dev git curl libfreeimage-dev libglfw3-dev xinput libxfixes-dev
2020-09-25 16:43:53 +00:00
2020-11-11 15:22:14 +00:00
# Setup GLES Location
2020-09-25 16:43:53 +00:00
RUN ln -s /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 /usr/lib/libGLESv2.so
2020-11-11 15:22:14 +00:00
# Add Build Scripts
2020-10-01 15:08:46 +00:00
ADD ./build /app/build
2020-09-25 16:43:53 +00:00
WORKDIR /app
2020-11-11 15:22:14 +00:00
# Download MCPI
2020-09-27 00:48:46 +00:00
RUN ./build/download-minecraft-pi.sh
2020-09-25 16:43:53 +00:00
2020-11-11 15:22:14 +00:00
# Build LibPNG12
2020-09-27 00:48:46 +00:00
RUN ./build/build-libpng12.sh
2020-09-25 16:43:53 +00:00
2020-11-11 15:22:14 +00:00
# Add Code
2020-10-01 15:08:46 +00:00
ADD . /app
2020-11-11 15:22:14 +00:00
# Build Mods
2020-10-01 15:08:46 +00:00
RUN ./build/build-mods.sh
2020-09-27 00:48:46 +00:00
WORKDIR ./minecraft-pi
2020-09-25 16:43:53 +00:00
ENTRYPOINT ./launcher