papermc.dockerfile (sha256:20cb6b3e2af2e5c50f54e96a3fc817cb3fc881c11110edcd4d998ba5b6c771d1)
Published 2024-04-29 04:07:41 +00:00 by fluo10
Installation
docker pull forgejo.fireturtle.net/fluo10/papermc.dockerfile@sha256:20cb6b3e2af2e5c50f54e96a3fc817cb3fc881c11110edcd4d998ba5b6c771d1sha256:20cb6b3e2af2e5c50f54e96a3fc817cb3fc881c11110edcd4d998ba5b6c771d1Image layers
| ADD file:4b1be1de1a1e5aa608c688cad2824587262081866180d7368feb79d33ca05953 in / |
| CMD ["bash"] |
| /bin/sh -c apt update -y && apt upgrade |
| /bin/sh -c apt install -y vim-tiny |
| /bin/sh -c apt install -y curl default-jdk |
| EXPOSE 25565 |
| ARG UID |
| ARG GID UID |
| ARG GID UID UNAME |
| ARG DATA_DIR GID UID UNAME |
| ARG DATA_DIR GID LAUNCHER_DIR UID UNAME |
| ARG BUILD_VERSION DATA_DIR GID LAUNCHER_DIR UID UNAME |
| ARG BUILD_VERSION DATA_DIR GID LAUNCHER_DIR MINECRAFT_VERSION UID UNAME |
| ENV LAUNCHER_NAME=paper-$MINECRAFT_VERSION-$BUILD_VERSION.jar |
| ARG BUILD_VERSION DATA_DIR GID LAUNCHER_DIR LAUNCHER_URL MINECRAFT_VERSION UID UNAME |
| |8 BUILD_VERSION=493 DATA_DIR=/data GID=1000 LAUNCHER_DIR=/opt LAUNCHER_URL=https://api.papermc.io/v2/projects/paper/versions/1.20.4/builds/493/downloads/paper-1.20.4-493.jar MINECRAFT_VERSION=1.20.4 UID=1000 UNAME=minecraft /bin/sh -c groupadd -g $GID $UNAME; useradd -u $UID -g $UNAME -d $DATA_DIR $UNAME |
| WORKDIR $LAUNCHER_DIR |
| |8 BUILD_VERSION=493 DATA_DIR=/data GID=1000 LAUNCHER_DIR=/opt LAUNCHER_URL=https://api.papermc.io/v2/projects/paper/versions/1.20.4/builds/493/downloads/paper-1.20.4-493.jar MINECRAFT_VERSION=1.20.4 UID=1000 UNAME=minecraft /bin/sh -c curl -OJ $LAUNCHER_URL |
| WORKDIR $DATA_DIR |
| |8 BUILD_VERSION=493 DATA_DIR=/data GID=1000 LAUNCHER_DIR=/opt LAUNCHER_URL=https://api.papermc.io/v2/projects/paper/versions/1.20.4/builds/493/downloads/paper-1.20.4-493.jar MINECRAFT_VERSION=1.20.4 UID=1000 UNAME=minecraft /bin/sh -c chown -R $UNAME:$UNAME $DATA_DIR |
| USER $UNAME |
| CMD java -jar "/opt/$LAUNCHER_NAME" --nogui |
| LABEL "1.20.4-493"="" "latest"="" |
Labels
| Key | Value |
|---|---|
| 1.20.4-493 | |
| io.buildah.version | 1.33.7 |
| latest |
Details
2024-04-29 04:07:41 +00:00
Versions (2)
View all
Container
0
OCI / Docker
linux/amd64
342 MiB
latest
2024-04-29
1.20.4-493
2024-04-29