2024-08-20 18:12:59 UTC
388 MB
/usr/lib/jvm/java-17-amazon-corretto
LANGC.UTF-8
MAVEN_CONFIG/root/.m2
MAVEN_HOME/usr/share/maven
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:9fe0de22bd8b7f693a2d87aff899a83b863c2f1cc5f64f563c01e4537bcf04e8 - 15.4% (59.7 MB)
[#001] sha256:82ff001010b923a0181362a7f37e350a3085467a2b774e124a0214de57212325 - 37.27% (145 MB)
[#002] sha256:144c286d0b375cd8733a6a0a75418c09c786d1d5b3388ef4ceadefbcac2d2111 - 37.68% (146 MB)
[#003] sha256:5d121e1800e9914522afbf432fd145a6f990e26acdadd5587b21f136e88cb4df - 7.39% (28.7 MB)
[#004] sha256:c62948598726336adc91456c5a90fb78fdd412be9f207c8a6127e4efb510dc04 - 2.25% (8.75 MB)
[#005] sha256:3bb156ac2b07cc08379d61104ad099e3e4ac971156595791ffa8e3093dc26963 - 0.0% (853 Bytes)
[#006] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#007] sha256:c8ac6af8ee600c5a4cfde1a92b628bb2bba373eb93c29d1b5e3c45c7eadc1a2c - 0.0% (159 Bytes)
COPY /rootfs/ / # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ARG version=17.0.13.11-1
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)RUN |1 version=17.0.13.11-1 /bin/sh -c set -eux && export GNUPGHOME="$(mktemp -d)" && curl -fL -o corretto.key https://yum.corretto.aws/corretto.key && gpg --batch --import corretto.key && gpg --batch --export --armor '6DC3636DAE534049C8B94623A122542AB04F24E3' > corretto.key && rpm --import corretto.key && rm -r "$GNUPGHOME" corretto.key && curl -fL -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo && grep -q '^gpgcheck=1' /etc/yum.repos.d/corretto.repo && echo "priority=9" >> /etc/yum.repos.d/corretto.repo && yum install -y java-17-amazon-corretto-devel-$version && (find /usr/lib/jvm/java-17-amazon-corretto -name src.zip -delete || true) && yum install -y fontconfig && yum clean all # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/lib/jvm/java-17-amazon-corretto
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c yum install -y tar which gzip # TODO remove # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c yum install -y openssh-clients # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.title=Apache Maven
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.description=Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ENV MAVEN_HOME=/usr/share/maven
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)COPY /usr/share/maven /usr/share/maven # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)COPY /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)COPY /usr/share/maven/ref/settings-docker.xml /usr/share/maven/ref/settings-docker.xml # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ARG MAVEN_VERSION=3.9.9
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ARG USER_HOME_DIR=/root
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ENV MAVEN_CONFIG=/root/.m2
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)CMD ["mvn"]
2024-08-20 18:12:59 UTC
367 MB
/usr/lib/jvm/java-17-amazon-corretto
LANGC.UTF-8
MAVEN_CONFIG/root/.m2
MAVEN_HOME/usr/share/maven
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:937ce5298690a9c75a91c1481f1c933f32ea7abe5993cf1e00e3d9da14f18bdf - 16.8% (61.6 MB)
[#001] sha256:29d3c3d5e7dd2769ec34c8a6782da13cd2fb91d9f2b7326bd873b4ffb1120d5f - 39.08% (143 MB)
[#002] sha256:e80262a9d7aae077157cfc3d984816eb191e5323f9185eecad73d5173b21bc36 - 33.62% (123 MB)
[#003] sha256:c206e2a3f1de41d281f80d6571324c90722a70f0631c59f5bb7949a367f932c0 - 8.11% (29.8 MB)
[#004] sha256:ba5115403ff5d4a355b93dada24b1253e0354e27e626759ad8cdb1c3817e8dab - 2.39% (8.75 MB)
[#005] sha256:3ebcfe95ae80b7975f833cbc80fdde4c8900d43ee7fe1c43e6a59e4309de755a - 0.0% (853 Bytes)
[#006] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#007] sha256:03cb389487b2fd0509d53542c80592d65db047f439ff17c0ae737c45cd8ea420 - 0.0% (160 Bytes)
COPY /rootfs/ / # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ARG version=17.0.13.11-1
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)RUN |1 version=17.0.13.11-1 /bin/sh -c set -eux && export GNUPGHOME="$(mktemp -d)" && curl -fL -o corretto.key https://yum.corretto.aws/corretto.key && gpg --batch --import corretto.key && gpg --batch --export --armor '6DC3636DAE534049C8B94623A122542AB04F24E3' > corretto.key && rpm --import corretto.key && rm -r "$GNUPGHOME" corretto.key && curl -fL -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo && grep -q '^gpgcheck=1' /etc/yum.repos.d/corretto.repo && echo "priority=9" >> /etc/yum.repos.d/corretto.repo && yum install -y java-17-amazon-corretto-devel-$version && (find /usr/lib/jvm/java-17-amazon-corretto -name src.zip -delete || true) && yum install -y fontconfig && yum clean all # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/usr/lib/jvm/java-17-amazon-corretto
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c yum install -y tar which gzip # TODO remove # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c yum install -y openssh-clients # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.title=Apache Maven
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)LABEL org.opencontainers.image.description=Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ENV MAVEN_HOME=/usr/share/maven
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)COPY /usr/share/maven /usr/share/maven # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)COPY /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)COPY /usr/share/maven/ref/settings-docker.xml /usr/share/maven/ref/settings-docker.xml # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn # buildkit
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ARG MAVEN_VERSION=3.9.9
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ARG USER_HOME_DIR=/root
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ENV MAVEN_CONFIG=/root/.m2
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
2024-08-20 18:12:59 UTC (buildkit.dockerfile.v0)CMD ["mvn"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.