spigot-docker (995bb2d0)

Published 2023-05-01 18:22:54 +02:00 by GuillaumeHemmen

Installation

docker pull git.van-hemmen.com/guillaumehemmen/spigot-docker:995bb2d0
sha256:2065523f9757422231c5dc93edc5b6efb2c6213c2e3b843e0b52d5c0715c595b

Image Layers

ADD file:7c5789fb822bda2652d7addee832c5a3d71733f0f94f97d89b0c5570c0840829 in /
CMD ["bash"]
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl netbase wget ; rm -rf /var/lib/apt/lists/*
/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
/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-17
ENV PATH=/usr/local/openjdk-17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV LANG=C.UTF-8
ENV JAVA_VERSION=17.0.2
/bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-x64_bin.tar.gz'; downloadSha256='0022753d0cceecacdd3a795dd4cea2bd7ffdf9dc06e22ffd1be98411742fbb44'; ;; 'arm64') downloadUrl='https://download.java.net/java/GA/jdk17.0.2/dfd4a8d0985749f896bed50d7138ee7f/8/GPL/openjdk-17.0.2_linux-aarch64_bin.tar.gz'; downloadSha256='13bfd976acf8803f862e82c7113fb0e9311ca5458b1decaef8a09ffd91119fa4'; ;; *) 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"]
MAINTAINER John Paul Alcala jp@jpalcala.com
/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.14/gosu-$(dpkg --print-architecture)" && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.14/gosu-$(dpkg --print-architecture).asc" && gpg --verify /usr/local/bin/gosu.asc && rm /usr/local/bin/gosu.asc && chmod +x /usr/local/bin/gosu
/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
COPY file:f1421a4febb2aaf0b8d4714423aa2d82e2afbd47485f12d5f60139c5654f2709 in /usr/local/bin/
ONBUILD COPY . /usr/src/minecraft
EXPOSE 25565
VOLUME [/opt/minecraft /var/lib/minecraft]
ENTRYPOINT ["/usr/local/bin/spigot"]
CMD ["run"]
LABEL org.opencontainers.image.created=2023-05-01T16:22:29Z
LABEL org.opencontainers.image.revision=995bb2d062098ef231f303d078bb857d5d90214e
LABEL org.opencontainers.image.source=https://git.van-hemmen.com/GuillaumeHemmen/spigot-docker.git
LABEL org.opencontainers.image.url=https://git.van-hemmen.com/GuillaumeHemmen/spigot-docker

Labels

Key Value
org.opencontainers.image.created 2023-05-01T16:22:29Z
org.opencontainers.image.revision 995bb2d062098ef231f303d078bb857d5d90214e
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
2023-05-01 18:22:54 +02:00
13
OCI / Docker
linux/amd64
310 MiB
Versions (5) View all
24.31.0 2024-08-01
latest 2024-08-01
7205dee2 2024-08-01
995bb2d0 2023-05-01