You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
740 B
26 lines
740 B
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"]
|