Browse Source

Fixed to work with mindustry-3.5

master
Raphael Roberts 7 years ago
parent
commit
2aa801a5a2
  1. 8
      Dockerfile
  2. 3
      docker-compose.build.yml
  3. 2
      docker-compose.yml

8
Dockerfile

@ -2,17 +2,17 @@ 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
RUN apk add --update --no-cache sqlite
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-4.0-alpha-56.jar /usr/local/share/mindustry/server.jar
COPY mindustry-server-3.5.jar /usr/local/share/mindustry/server.jar
USER root

3
docker-compose.build.yml

@ -3,5 +3,4 @@ version: '3.1'
services:
mindustry:
build: .
image: thehuntedpie/mindustry:4.0-alpha-56
image: rlbr/mindustry-server:v3.5

2
docker-compose.yml

@ -2,7 +2,7 @@ version: "3.1"
services:
mindustry:
image: "thehuntedpie/mindustry:4.0-alpha-56"
image: "rlbr/mindustry-server:v3.5"
container_name: "mindustry_server"
hostname: "mindustry-server"
ports:

Loading…
Cancel
Save