Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
clspigot-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tmueller
clspigot-docker
Commits
1c395b7e
Commit
1c395b7e
authored
3 years ago
by
TheBroTMv2
Browse files
Options
Downloads
Patches
Plain Diff
Update Dockerfile
parent
da4ae6ea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!7
Beta
Pipeline
#2662
failed
3 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+3
-3
3 additions, 3 deletions
Dockerfile
with
3 additions
and
3 deletions
Dockerfile
+
3
−
3
View file @
1c395b7e
# 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment