mirror of
https://github.com/grey-cat-1908/portable-mc-server.git
synced 2024-11-11 18:57:27 +03:00
13 lines
No EOL
270 B
Docker
13 lines
No EOL
270 B
Docker
FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:latest
|
|
|
|
ENV DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
|
|
|
|
RUN install_packages wget jq openjdk-17-jre
|
|
|
|
COPY . /
|
|
|
|
COPY run.sh /usr/src/
|
|
|
|
RUN chmod +x /usr/src/run.sh
|
|
|
|
CMD ["/bin/bash", "/usr/src/run.sh"] |