13 lines
390 B
Text
13 lines
390 B
Text
|
FROM ghcr.io/archlinux/archlinux:latest
|
||
|
LABEL org.opencontainers.image.authors="JeremyStarTM <jeremystartm@staropensource.de>"
|
||
|
|
||
|
RUN pacman -Syu --noconfirm jre17-openjdk jre11-openjdk jre8-openjdk
|
||
|
RUN mkdir /app
|
||
|
RUN useradd -U -m mcserver
|
||
|
ADD entrypoint.sh /app/entrypoint.sh
|
||
|
|
||
|
STOPSIGNAL SIGTERM
|
||
|
EXPOSE 25565 25565/tcp
|
||
|
USER mcserver:mcserver
|
||
|
ENTRYPOINT ["/sbin/bash", "/app/entrypoint.sh"]
|