Skip to content
Snippets Groups Projects
Commit 1c395b7e authored by TheBroTMv2's avatar TheBroTMv2
Browse files

Update Dockerfile

parent da4ae6ea
No related branches found
No related tags found
1 merge request!7Beta
Pipeline #2662 failed
# Base image on OpenJDK 11 JRE
FROM openjdk:11.0-jre-slim
LABEL org.label-schema.name="clspigot-docker"
LABEL org.label-schema.name="clspigot-docker" \
org.label-schema.description="Docker Container for an Papermc Server" \
org.label-schema.vcs-url="https://gitlab.cl.uni-heidelberg.de/tmueller/clspigot-docker/" \
maintainer="mueller@tobistech.ovh" \
......@@ -25,7 +25,7 @@ ENV MC_VERSION="latest" \
#Man kann nun auch die guid des eigenen benutzers passen und mus somit nichtmehr die rechte des hostsystems anpassen, bitte die GUID eines non-root users nehmen der an dem speicherort zugriff hat.
GUID=61000 \
TZ=Europe/Berlin \
TM_BASE_AUTH="tmueller:supercooles_passwort_hier_einfuegen" \
TM_BASE_AUTH="tmueller:supercooles_passwort_hier_einfuegen" \
TM_BASE_URL="https://tobistechblog.de/uni/initial.tar.gz"
# Copy over the three script files (entrypoint, backup, restore, helath, test(optional) and crontab
COPY papermc.sh backup.sh restore.sh health.sh test.sh /
......@@ -59,7 +59,7 @@ RUN apt-get update && apt-get install -y \
jq \
screen \
webp \
nano \
nano \
&& rm -rf /var/lib/apt/lists/* \
service cron start
# Execute all following commands as the papermc user
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment