Browse Source

update to mc 1.14.4

master
dave 2 years ago
parent
commit
ddb6429d5c
  1. 8
      Dockerfile
  2. BIN
      spigot-1.14.4.jar
  3. 2
      start

8
Dockerfile

@ -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

Binary file not shown.

2
start

@ -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