portable-mc-server/minecraft/Dockerfile.template

14 lines
277 B
Docker
Raw Permalink Normal View History

2024-01-30 20:39:50 +03:00
FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:latest
ENV DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
2024-08-31 17:14:48 +03:00
RUN install_packages wget jq openjdk-17-jre
2024-01-30 20:39:50 +03:00
COPY . /
2024-02-01 10:59:03 +03:00
COPY start.sh /usr/src/
2024-01-30 20:39:50 +03:00
2024-02-01 10:59:03 +03:00
RUN chmod +x /usr/src/start.sh
2024-01-30 20:39:50 +03:00
2024-08-31 16:05:30 +03:00
CMD ["/bin/bash", "/usr/src/start.sh"]