FROM openjdk:8-jdk-alpine LABEL author="ViViV_" maintainer="sysadmin@whiteshield.ch" LABEL author="thehuntedpie" maintainer="thehuntedpie@gmail.com" LABEL author="rlbr" maintainer="raphael.roberts48@gmail.com" EXPOSE 6567/TCP EXPOSE 6567/UDP RUN apk add --update --no-cache curl ca-certificates openssl git tar bash openssh RUN apk add --update --no-cache sqlite RUN adduser -D -h /var/lib/mindustry mindustry COPY mindustry-server-3.5.jar /usr/local/share/mindustry/server.jar USER root WORKDIR /var/lib/mindustry VOLUME /var/lib/mindustry/.mindustry COPY ./docker-entrypoint.sh / ENTRYPOINT ["/docker-entrypoint.sh"] CMD ["host"]