spigot-docker (sha256:cdd8fc92cc7a44d738c738676f3da31aa3245a355a47bde6bb7c0959a6b0b39d)

Published 2024-08-01 12:20:01 +02:00 by GuillaumeHemmen

Installation

docker pull git.van-hemmen.com/guillaumehemmen/spigot-docker@sha256:cdd8fc92cc7a44d738c738676f3da31aa3245a355a47bde6bb7c0959a6b0b39d
sha256:cdd8fc92cc7a44d738c738676f3da31aa3245a355a47bde6bb7c0959a6b0b39d

Image Layers

ADD file:ce04d6a354feaef93795269c859f36667fce9efda23c61b37d7060263b66ed4e in /
CMD ["bash"]
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/*
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bzip2 unzip xz-utils binutils fontconfig libfreetype6 ca-certificates p11-kit ; rm -rf /var/lib/apt/lists/*
ENV JAVA_HOME=/usr/local/openjdk-21
ENV PATH=/usr/local/openjdk-21/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV LANG=C.UTF-8
ENV JAVA_VERSION=21
/bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_linux-x64_bin.tar.gz'; downloadSha256='a30c454a9bef8f46d5f1bf3122830014a8fbe7ac03b5f8729bc3add4b92a1d0a'; ;; 'arm64') downloadUrl='https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_linux-aarch64_bin.tar.gz'; downloadSha256='e8f4ed1a69815ddf56d7da365116eefc1e5a1159396dffee3dd21616a86d5d28'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; wget --progress=dot:giga -O openjdk.tgz "$downloadUrl"; echo "$downloadSha256 *openjdk.tgz" | sha256sum --strict --check -; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; { echo '#!/usr/bin/env bash'; echo 'set -Eeuo pipefail'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$JAVA_HOME/lib/security/cacerts"'; } > /etc/ca-certificates/update.d/docker-openjdk; chmod +x /etc/ca-certificates/update.d/docker-openjdk; /etc/ca-certificates/update.d/docker-openjdk; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; javac --version; java --version
CMD ["jshell"]
LABEL org.opencontainers.image.authors=John Paul Alcala jp@jpalcala.com
RUN /bin/sh -c gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && apt-get update && apt-get install -y curl rsync tmux && rm -rf /var/lib/apt/lists/* && curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.17/gosu-$(dpkg --print-architecture)" && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.17/gosu-$(dpkg --print-architecture).asc" && gpg --verify /usr/local/bin/gosu.asc && rm /usr/local/bin/gosu.asc && chmod +x /usr/local/bin/gosu # buildkit
RUN /bin/sh -c groupadd -g 1000 minecraft && useradd -g minecraft -u 1000 -r -M minecraft && mkdir -p /opt/minecraft /var/lib/minecraft /usr/src/minecraft && echo "set -g status off" > /root/.tmux.conf # buildkit
COPY spigot /usr/local/bin/ # buildkit
EXPOSE map[25565/tcp:{}]
VOLUME [/opt/minecraft /var/lib/minecraft]
ENTRYPOINT ["/usr/local/bin/spigot"]
CMD ["run"]

Labels

Key Value
org.opencontainers.image.authors John Paul Alcala jp@jpalcala.com
org.opencontainers.image.created 2024-08-01T10:18:53Z
org.opencontainers.image.revision 7205dee2b2ac9f356a7d7b6adf45744e31ad09b1
org.opencontainers.image.source https://git.van-hemmen.com/GuillaumeHemmen/spigot-docker.git
org.opencontainers.image.url https://git.van-hemmen.com/GuillaumeHemmen/spigot-docker
Details
Container
2024-08-01 12:20:01 +02:00
0
OCI / Docker
linux/amd64
John Paul Alcala jp@jpalcala.com
345 MiB
Versions (5) View all
24.31.0 2024-08-01
latest 2024-08-01
7205dee2 2024-08-01
995bb2d0 2023-05-01