test (latest)
Published 2024-05-21 22:41:38 +02:00 by jochen
Installation
docker pull git.bocc.de/jochen/test:latest
sha256:e2ba1f4ae1f6d08e1f7e94f06d277ad52ec9457491f62071563060739f4b84f9
Image Layers
ADD file:b9b24bd862a79bf6c6e79daf6babca27245063eb52a2f72ffc4fc3494ddd3d48 in / |
CMD ["bash"] |
/bin/sh -c 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 bzr 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 ca-certificates p11-kit fontconfig libfreetype6 ; rm -rf /var/lib/apt/lists/* |
ENV LANG=C.UTF-8 |
ENV JAVA_HOME=/usr/local/openjdk-11 |
ENV PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
/bin/sh -c { echo '#/bin/sh'; echo 'echo "$JAVA_HOME"'; } > /usr/local/bin/docker-java-home && chmod +x /usr/local/bin/docker-java-home && [ "$JAVA_HOME" = "$(docker-java-home)" ] |
ENV JAVA_VERSION=11.0.4 |
ENV JAVA_BASE_URL=https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.4%2B11/OpenJDK11U-jdk_ |
ENV JAVA_URL_VERSION=11.0.4_11 |
/bin/sh -c set -eux; dpkgArch="$(dpkg --print-architecture)"; case "$dpkgArch" in amd64) upstreamArch='x64' ;; arm64) upstreamArch='aarch64' ;; *) echo >&2 "error: unsupported architecture: $dpkgArch" ;; esac; wget -O openjdk.tgz.asc "${JAVA_BASE_URL}${upstreamArch}_linux_${JAVA_URL_VERSION}.tar.gz.sign"; wget -O openjdk.tgz "${JAVA_BASE_URL}${upstreamArch}_linux_${JAVA_URL_VERSION}.tar.gz" --progress=dot:giga; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CA5F11C6CE22644D42C6AC4492EF8D39DC13168F; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys EAC843EBD3EFDB98CC772FADA5CD6035332FA671; gpg --batch --list-sigs --keyid-format 0xLONG CA5F11C6CE22644D42C6AC4492EF8D39DC13168F | grep '0xA5CD6035332FA671' | grep 'Andrew Haley'; gpg --batch --verify openjdk.tgz.asc openjdk.tgz; gpgconf --kill all; rm -rf "$GNUPGHOME"; 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 'if ! [ -d "$JAVA_HOME" ]; then echo >&2 "error: missing JAVA_HOME environment variable"; exit 1; fi'; echo 'cacertsFile=; for f in "$JAVA_HOME/lib/security/cacerts" "$JAVA_HOME/jre/lib/security/cacerts"; do if [ -e "$f" ]; then cacertsFile="$f"; break; fi; done'; echo 'if [ -z "$cacertsFile" ] || ! [ -f "$cacertsFile" ]; then echo >&2 "error: failed to find cacerts file in $JAVA_HOME"; exit 1; fi'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$cacertsFile"'; } > /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; javac --version; java --version |
CMD ["jshell"] |
ARG MAVEN_VERSION=3.6.1 |
ARG USER_HOME_DIR=/root |
ARG SHA=b4880fb7a3d81edd190a029440cdf17f308621af68475a4fe976296e71ff4a4b546dd6d8a58aaafba334d309cc11e638c52808a4b0e818fc0fd544226d952544 |
ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/3.6.1/binaries |
|4 BASE_URL=https://apache.osuosl.org/maven/maven-3/3.6.1/binaries MAVEN_VERSION=3.6.1 SHA=b4880fb7a3d81edd190a029440cdf17f308621af68475a4fe976296e71ff4a4b546dd6d8a58aaafba334d309cc11e638c52808a4b0e818fc0fd544226d952544 USER_HOME_DIR=/root /bin/sh -c mkdir -p /usr/share/maven /usr/share/maven/ref && curl -fsSL -o /tmp/apache-maven.tar.gz ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz && echo "${SHA} /tmp/apache-maven.tar.gz" | sha512sum -c - && tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components=1 && rm -f /tmp/apache-maven.tar.gz && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn |
ENV MAVEN_HOME=/usr/share/maven |
ENV MAVEN_CONFIG=/root/.m2 |
COPY file:1b3da5c58894f705e7387946301c0c52edb6271761ea3cd80b86a848847a64cd in /usr/local/bin/mvn-entrypoint.sh |
COPY file:2bbb488dd73c55d658b91943cfdf9c26975a320ceafc45dda94c95b03e518ad3 in /usr/share/maven/ref/ |
ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] |
CMD ["mvn"] |
MAINTAINER daynnnnn |
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 |
ARG DB_HOST |
ARG DB_USERNAME |
ARG DB_PASSWORD |
ARG DB_DATABASE |
ARG DB_PORT |
WORKDIR /code |
ADD dir:2009cd38f34a55d538fcf6edf9211eb6fc32e97ad35e04cc2173b4f30ff80605 in /code/src |
ADD dir:9a8689e9ef573d0dbb03e8bf6330f7049388f9a27225efe67a23bf053a7b2530 in /code/website |
ADD file:8f537cd7f51dcd6d97a304534b214491fa75a10f5ea677e483e57684c3bfc82d in /code/pom.xml |
|5 DB_DATABASE=steve DB_HOST=db DB_PASSWORD=steve DB_PORT=3306 DB_USERNAME=steve /bin/sh -c sed -i 's|${db.ip}|${env.DB_HOST}|g' pom.xml |
|5 DB_DATABASE=steve DB_HOST=db DB_PASSWORD=steve DB_PORT=3306 DB_USERNAME=steve /bin/sh -c sed -i 's|${db.port}|${env.DB_PORT}|g' pom.xml |
|5 DB_DATABASE=steve DB_HOST=db DB_PASSWORD=steve DB_PORT=3306 DB_USERNAME=steve /bin/sh -c sed -i 's|${db.user}|${env.DB_USERNAME}|g' pom.xml |
|5 DB_DATABASE=steve DB_HOST=db DB_PASSWORD=steve DB_PORT=3306 DB_USERNAME=steve /bin/sh -c sed -i 's|${db.password}|${env.DB_PASSWORD}|g' pom.xml |
|5 DB_DATABASE=steve DB_HOST=db DB_PASSWORD=steve DB_PORT=3306 DB_USERNAME=steve /bin/sh -c sed -i 's|${db.schema}|${env.DB_DATABASE}|g' pom.xml |