minecraft-pi-reborn/Dockerfile.client

31 lines
606 B
Docker
Raw Normal View History

2020-11-25 21:17:40 -05:00
FROM arm32v7/debian:bullseye
2020-09-25 12:43:53 -04:00
2020-11-11 10:22:14 -05:00
# Install Dependencies
2020-10-04 16:45:00 -04:00
RUN \
apt-get update && \
2020-11-25 21:17:40 -05: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 12:43:53 -04:00
2020-11-11 10:22:14 -05:00
# Setup GLES Location
2020-09-25 12:43:53 -04:00
RUN ln -s /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 /usr/lib/libGLESv2.so
2020-11-11 10:22:14 -05:00
# Add Build Scripts
2020-10-01 11:08:46 -04:00
ADD ./build /app/build
2020-09-25 12:43:53 -04:00
WORKDIR /app
2020-11-11 10:22:14 -05:00
# Download MCPI
2020-09-26 20:48:46 -04:00
RUN ./build/download-minecraft-pi.sh
2020-09-25 12:43:53 -04:00
2020-11-11 10:22:14 -05:00
# Build LibPNG12
2020-09-26 20:48:46 -04:00
RUN ./build/build-libpng12.sh
2020-09-25 12:43:53 -04:00
2020-11-11 10:22:14 -05:00
# Add Code
2020-10-01 11:08:46 -04:00
ADD . /app
2020-11-11 10:22:14 -05:00
# Build Mods
2020-10-01 11:08:46 -04:00
RUN ./build/build-mods.sh
2020-09-26 20:48:46 -04:00
WORKDIR ./minecraft-pi
2020-09-25 12:43:53 -04:00
ENTRYPOINT ./launcher