portable-mc-server/minecraft/Dockerfile.template
2024-08-31 17:08:57 +03:00

13 lines
294 B
Docker

FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:latest
ENV DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
RUN apt-get update && apt-get install wget jq openjdk-21-jre
COPY . /
COPY start.sh /usr/src/
RUN chmod +x /usr/src/start.sh
CMD ["/bin/bash", "/usr/src/start.sh"]