Browse Source

update to mc 1.14.4

master
dave 1 year ago
parent
commit
ddb6429d5c
3 changed files with 6 additions and 4 deletions
  1. +4
    -4
      Dockerfile
  2. BIN
      spigot-1.14.4.jar
  3. +2
    -0
      start

+ 4
- 4
Dockerfile View File

@@ -1,17 +1,17 @@
FROM ubuntu:trusty
FROM ubuntu:bionic

ADD start /start

RUN useradd --uid 1000 mcserver && \
apt-get update && \
apt-get install -y openjdk-7-jre-headless && \
apt-get update && \
apt-get install -y openjdk-11-jre-headless && \
mkdir -p /srv/spigot/ /srv/spigot-default/ && \
chown -R mcserver:mcserver /srv/spigot/ && \
chmod +x /start

ENV MEMLIMIT=1024m

ADD spigot-1.11.2.jar /srv/spigot-default/spigot.jar
ADD spigot-1.14.4.jar /srv/spigot-default/spigot.jar
ADD eula.txt /srv/spigot-default/

ENTRYPOINT ["/start"]


BIN
spigot-1.14.4.jar View File


+ 2
- 0
start View File

@@ -1,5 +1,7 @@
#!/bin/sh -x

MEMLIMIT=${MEMLIMIT:-2G}

test ! -f /srv/spigot/spigot.jar && cp /srv/spigot-default/spigot.jar /srv/spigot/
test ! -f /srv/spigot/eula.txt && cp /srv/spigot-default/eula.txt /srv/spigot/



Loading…
Cancel
Save