From 4c4581ae1a76246d718ce1bfaa694f0f2650edb6 Mon Sep 17 00:00:00 2001 From: Timothy Stone Date: Mon, 22 Jul 2024 12:06:12 -0400 Subject: [PATCH] style: update the use of LegacyKeyValueFormat in Dockerfiles Per Docker [build-checks](https://docs.docker.com/reference/build-checks/legacy-key-value-format/): The correct format for declaring environment variables and build arguments in a Dockerfile is `ENV key=value` and `ARG key=value`, where the variable name (`key`) and value (`value`) are separated by an equals sign (`=`). Historically, Dockerfiles have also supported a space separator between the key and the value (for example, `ARG key value`). This legacy format is deprecated, and you should only use the format with the equals sign. This admonition does not mention `LABEL`, but it is included. Update the use of `LABEL` and `ENV` where necessary to remove deprecation warning. Fixes #486 --- Dockerfile-template | 12 ++++++------ amazoncorretto-11-al2023/Dockerfile | 12 ++++++------ amazoncorretto-11-debian/Dockerfile | 14 +++++++------- amazoncorretto-11-windowsservercore/Dockerfile | 12 ++++++------ amazoncorretto-11/Dockerfile | 12 ++++++------ amazoncorretto-17-al2023/Dockerfile | 12 ++++++------ amazoncorretto-17-debian/Dockerfile | 14 +++++++------- amazoncorretto-17-windowsservercore/Dockerfile | 12 ++++++------ amazoncorretto-17/Dockerfile | 12 ++++++------ amazoncorretto-21-al2023/Dockerfile | 12 ++++++------ amazoncorretto-21-debian/Dockerfile | 14 +++++++------- amazoncorretto-21/Dockerfile | 12 ++++++------ amazoncorretto-8-al2023/Dockerfile | 12 ++++++------ amazoncorretto-8-debian/Dockerfile | 14 +++++++------- amazoncorretto-8-windowsservercore/Dockerfile | 12 ++++++------ amazoncorretto-8/Dockerfile | 12 ++++++------ azulzulu-11-alpine/Dockerfile | 12 ++++++------ azulzulu-11-windowsservercore/Dockerfile | 12 ++++++------ azulzulu-11/Dockerfile | 12 ++++++------ azulzulu-17-alpine/Dockerfile | 12 ++++++------ azulzulu-17-windowsservercore/Dockerfile | 12 ++++++------ azulzulu-17/Dockerfile | 12 ++++++------ azulzulu-21-alpine/Dockerfile | 12 ++++++------ azulzulu-21/Dockerfile | 12 ++++++------ azulzulu-8-alpine/Dockerfile | 12 ++++++------ azulzulu-8/Dockerfile | 12 ++++++------ eclipse-temurin-11-alpine/Dockerfile | 12 ++++++------ eclipse-temurin-11-focal/Dockerfile | 12 ++++++------ eclipse-temurin-11/Dockerfile | 16 ++++++++-------- eclipse-temurin-17-alpine/Dockerfile | 12 ++++++------ eclipse-temurin-17-focal/Dockerfile | 12 ++++++------ eclipse-temurin-17/Dockerfile | 12 ++++++------ eclipse-temurin-21-alpine/Dockerfile | 12 ++++++------ eclipse-temurin-21-jammy/Dockerfile | 12 ++++++------ eclipse-temurin-21/Dockerfile | 12 ++++++------ eclipse-temurin-22-alpine/Dockerfile | 12 ++++++------ eclipse-temurin-22-jammy/Dockerfile | 12 ++++++------ eclipse-temurin-22/Dockerfile | 12 ++++++------ eclipse-temurin-8-alpine/Dockerfile | 12 ++++++------ eclipse-temurin-8-focal/Dockerfile | 12 ++++++------ eclipse-temurin-8/Dockerfile | 12 ++++++------ graalvm-community-17/Dockerfile | 4 ++-- graalvm-community-21/Dockerfile | 4 ++-- ibm-semeru-11-focal/Dockerfile | 12 ++++++------ ibm-semeru-17-focal/Dockerfile | 12 ++++++------ ibm-semeru-21-jammy/Dockerfile | 12 ++++++------ ibmjava-8/Dockerfile | 12 ++++++------ libericaopenjdk-11-alpine/Dockerfile | 12 ++++++------ libericaopenjdk-11-debian/Dockerfile | 12 ++++++------ libericaopenjdk-17-alpine/Dockerfile | 12 ++++++------ libericaopenjdk-17-debian/Dockerfile | 12 ++++++------ libericaopenjdk-8-alpine/Dockerfile | 12 ++++++------ libericaopenjdk-8-debian/Dockerfile | 12 ++++++------ microsoft-openjdk-11-ubuntu/Dockerfile | 12 ++++++------ microsoft-openjdk-17-ubuntu/Dockerfile | 12 ++++++------ microsoft-openjdk-21-ubuntu/Dockerfile | 12 ++++++------ openjdk-11-nanoserver/Dockerfile | 12 ++++++------ openjdk-11-windowsservercore/Dockerfile | 12 ++++++------ openjdk-8-nanoserver/Dockerfile | 12 ++++++------ openjdk-8-windowsservercore/Dockerfile | 12 ++++++------ oracle-graalvm-17/Dockerfile | 12 ++++++------ oracle-graalvm-21/Dockerfile | 12 ++++++------ sapmachine-11/Dockerfile | 12 ++++++------ sapmachine-17/Dockerfile | 12 ++++++------ sapmachine-21/Dockerfile | 12 ++++++------ sapmachine-22/Dockerfile | 12 ++++++------ 66 files changed, 394 insertions(+), 394 deletions(-) diff --git a/Dockerfile-template b/Dockerfile-template index a1f2068c..9ed1b554 100644 --- a/Dockerfile-template +++ b/Dockerfile-template @@ -1,10 +1,10 @@ # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -14,7 +14,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/amazoncorretto-11-al2023/Dockerfile b/amazoncorretto-11-al2023/Dockerfile index b1554360..574ce8e4 100644 --- a/amazoncorretto-11-al2023/Dockerfile +++ b/amazoncorretto-11-al2023/Dockerfile @@ -4,12 +4,12 @@ RUN yum install -y tar which gzip findutils # TODO remove RUN yum install -y openssh-clients # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -19,7 +19,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/amazoncorretto-11-debian/Dockerfile b/amazoncorretto-11-debian/Dockerfile index 45f450ef..23ef6111 100644 --- a/amazoncorretto-11-debian/Dockerfile +++ b/amazoncorretto-11-debian/Dockerfile @@ -17,15 +17,15 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # set JAVA_HOME manually since nothing else will set it -ENV JAVA_HOME "/usr/lib/jvm/java-11-amazon-corretto" +ENV JAVA_HOME="/usr/lib/jvm/java-11-amazon-corretto" # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -35,7 +35,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/amazoncorretto-11-windowsservercore/Dockerfile b/amazoncorretto-11-windowsservercore/Dockerfile index 87e73f62..e4a04279 100644 --- a/amazoncorretto-11-windowsservercore/Dockerfile +++ b/amazoncorretto-11-windowsservercore/Dockerfile @@ -1,10 +1,10 @@ # escape=` FROM mcr.microsoft.com/windows/servercore:ltsc2019 -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] @@ -31,8 +31,8 @@ RUN Invoke-WebRequest -Uri ${env:BASE_URL}/apache-maven-${env:MAVEN_VERSION}-bin New-Item -ItemType Directory -Path C:/ProgramData/Maven/Reference | Out-Null ; ` Remove-Item ${env:TEMP}/apache-maven.zip -ENV MAVEN_HOME C:/ProgramData/Maven -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_HOME=C:/ProgramData/Maven +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" COPY mvn-entrypoint.ps1 C:/ProgramData/Maven/mvn-entrypoint.ps1 COPY settings-docker.xml C:/ProgramData/Maven/Reference/settings-docker.xml diff --git a/amazoncorretto-11/Dockerfile b/amazoncorretto-11/Dockerfile index c1d2f0e5..e06bc51d 100644 --- a/amazoncorretto-11/Dockerfile +++ b/amazoncorretto-11/Dockerfile @@ -4,12 +4,12 @@ RUN yum install -y tar which gzip # TODO remove RUN yum install -y openssh-clients # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -19,7 +19,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/amazoncorretto-17-al2023/Dockerfile b/amazoncorretto-17-al2023/Dockerfile index c9ae0aa5..a9505f25 100644 --- a/amazoncorretto-17-al2023/Dockerfile +++ b/amazoncorretto-17-al2023/Dockerfile @@ -4,12 +4,12 @@ RUN yum install -y tar which gzip findutils # TODO remove RUN yum install -y openssh-clients # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -19,7 +19,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/amazoncorretto-17-debian/Dockerfile b/amazoncorretto-17-debian/Dockerfile index ce0bdbb4..56ccac47 100644 --- a/amazoncorretto-17-debian/Dockerfile +++ b/amazoncorretto-17-debian/Dockerfile @@ -17,15 +17,15 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # set JAVA_HOME manually since nothing else will set it -ENV JAVA_HOME "/usr/lib/jvm/java-17-amazon-corretto" +ENV JAVA_HOME="/usr/lib/jvm/java-17-amazon-corretto" # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -35,7 +35,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/amazoncorretto-17-windowsservercore/Dockerfile b/amazoncorretto-17-windowsservercore/Dockerfile index 4a5c312f..7cabbfbf 100644 --- a/amazoncorretto-17-windowsservercore/Dockerfile +++ b/amazoncorretto-17-windowsservercore/Dockerfile @@ -1,10 +1,10 @@ # escape=` FROM mcr.microsoft.com/windows/servercore:ltsc2019 -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] @@ -31,8 +31,8 @@ RUN Invoke-WebRequest -Uri ${env:BASE_URL}/apache-maven-${env:MAVEN_VERSION}-bin New-Item -ItemType Directory -Path C:/ProgramData/Maven/Reference | Out-Null ; ` Remove-Item ${env:TEMP}/apache-maven.zip -ENV MAVEN_HOME C:/ProgramData/Maven -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_HOME=C:/ProgramData/Maven +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" COPY mvn-entrypoint.ps1 C:/ProgramData/Maven/mvn-entrypoint.ps1 COPY settings-docker.xml C:/ProgramData/Maven/Reference/settings-docker.xml diff --git a/amazoncorretto-17/Dockerfile b/amazoncorretto-17/Dockerfile index 6802d3f8..cdd6d7a4 100644 --- a/amazoncorretto-17/Dockerfile +++ b/amazoncorretto-17/Dockerfile @@ -4,12 +4,12 @@ RUN yum install -y tar which gzip # TODO remove RUN yum install -y openssh-clients # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -19,7 +19,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/amazoncorretto-21-al2023/Dockerfile b/amazoncorretto-21-al2023/Dockerfile index 854a6784..39c6c752 100644 --- a/amazoncorretto-21-al2023/Dockerfile +++ b/amazoncorretto-21-al2023/Dockerfile @@ -4,12 +4,12 @@ RUN yum install -y tar which gzip findutils # TODO remove RUN yum install -y openssh-clients # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -19,7 +19,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/amazoncorretto-21-debian/Dockerfile b/amazoncorretto-21-debian/Dockerfile index 95bd6989..a8def4a2 100644 --- a/amazoncorretto-21-debian/Dockerfile +++ b/amazoncorretto-21-debian/Dockerfile @@ -17,15 +17,15 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # set JAVA_HOME manually since nothing else will set it -ENV JAVA_HOME "/usr/lib/jvm/java-21-amazon-corretto" +ENV JAVA_HOME="/usr/lib/jvm/java-21-amazon-corretto" # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -35,7 +35,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/amazoncorretto-21/Dockerfile b/amazoncorretto-21/Dockerfile index 37325c2a..b7dc211e 100644 --- a/amazoncorretto-21/Dockerfile +++ b/amazoncorretto-21/Dockerfile @@ -4,12 +4,12 @@ RUN yum install -y tar which gzip # TODO remove RUN yum install -y openssh-clients # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -19,7 +19,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/amazoncorretto-8-al2023/Dockerfile b/amazoncorretto-8-al2023/Dockerfile index 9d874b47..04b8b12e 100644 --- a/amazoncorretto-8-al2023/Dockerfile +++ b/amazoncorretto-8-al2023/Dockerfile @@ -4,12 +4,12 @@ RUN yum install -y tar which gzip findutils # TODO remove RUN yum install -y openssh-clients # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -19,7 +19,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/amazoncorretto-8-debian/Dockerfile b/amazoncorretto-8-debian/Dockerfile index 3373ba8e..af573621 100644 --- a/amazoncorretto-8-debian/Dockerfile +++ b/amazoncorretto-8-debian/Dockerfile @@ -17,15 +17,15 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # set JAVA_HOME manually since nothing else will set it -ENV JAVA_HOME "/usr/lib/jvm/java-1.8.0-amazon-corretto/jre" +ENV JAVA_HOME="/usr/lib/jvm/java-1.8.0-amazon-corretto/jre" # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -35,7 +35,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/amazoncorretto-8-windowsservercore/Dockerfile b/amazoncorretto-8-windowsservercore/Dockerfile index 3d6cb12c..c9954237 100644 --- a/amazoncorretto-8-windowsservercore/Dockerfile +++ b/amazoncorretto-8-windowsservercore/Dockerfile @@ -1,10 +1,10 @@ # escape=` FROM mcr.microsoft.com/windows/servercore:ltsc2019 -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] @@ -31,8 +31,8 @@ RUN Invoke-WebRequest -Uri ${env:BASE_URL}/apache-maven-${env:MAVEN_VERSION}-bin New-Item -ItemType Directory -Path C:/ProgramData/Maven/Reference | Out-Null ; ` Remove-Item ${env:TEMP}/apache-maven.zip -ENV MAVEN_HOME C:/ProgramData/Maven -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_HOME=C:/ProgramData/Maven +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" COPY mvn-entrypoint.ps1 C:/ProgramData/Maven/mvn-entrypoint.ps1 COPY settings-docker.xml C:/ProgramData/Maven/Reference/settings-docker.xml diff --git a/amazoncorretto-8/Dockerfile b/amazoncorretto-8/Dockerfile index 13262f66..a57303fd 100644 --- a/amazoncorretto-8/Dockerfile +++ b/amazoncorretto-8/Dockerfile @@ -4,12 +4,12 @@ RUN yum install -y tar which gzip # TODO remove RUN yum install -y openssh-clients # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -19,7 +19,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/azulzulu-11-alpine/Dockerfile b/azulzulu-11-alpine/Dockerfile index d3929b95..81abe4dc 100644 --- a/azulzulu-11-alpine/Dockerfile +++ b/azulzulu-11-alpine/Dockerfile @@ -3,12 +3,12 @@ FROM azul/zulu-openjdk-alpine:11 RUN apk add --no-cache bash procps curl tar openssh-client # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/azulzulu-11-windowsservercore/Dockerfile b/azulzulu-11-windowsservercore/Dockerfile index 3d8598d1..16ce68f9 100644 --- a/azulzulu-11-windowsservercore/Dockerfile +++ b/azulzulu-11-windowsservercore/Dockerfile @@ -1,10 +1,10 @@ # escape=` FROM mcr.microsoft.com/windows/servercore:ltsc2019 -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] @@ -29,8 +29,8 @@ RUN Invoke-WebRequest -Uri ${env:BASE_URL}/apache-maven-${env:MAVEN_VERSION}-bin New-Item -ItemType Directory -Path C:/ProgramData/Maven/Reference | Out-Null ; ` Remove-Item ${env:TEMP}/apache-maven.zip -ENV MAVEN_HOME C:/ProgramData/Maven -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_HOME=C:/ProgramData/Maven +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENV JAVA_HOME=C:/ProgramData/zulu11.37.17-ca-jdk11.0.6-win_x64 diff --git a/azulzulu-11/Dockerfile b/azulzulu-11/Dockerfile index d7b91a64..f40811f6 100644 --- a/azulzulu-11/Dockerfile +++ b/azulzulu-11/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/azulzulu-17-alpine/Dockerfile b/azulzulu-17-alpine/Dockerfile index c70037e6..9f37bd41 100644 --- a/azulzulu-17-alpine/Dockerfile +++ b/azulzulu-17-alpine/Dockerfile @@ -3,12 +3,12 @@ FROM azul/zulu-openjdk-alpine:17 RUN apk add --no-cache bash procps curl tar openssh-client # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/azulzulu-17-windowsservercore/Dockerfile b/azulzulu-17-windowsservercore/Dockerfile index c68368e5..f1098b10 100644 --- a/azulzulu-17-windowsservercore/Dockerfile +++ b/azulzulu-17-windowsservercore/Dockerfile @@ -1,10 +1,10 @@ # escape=` FROM mcr.microsoft.com/windows/servercore:ltsc2019 -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] @@ -29,8 +29,8 @@ RUN Invoke-WebRequest -Uri ${env:BASE_URL}/apache-maven-${env:MAVEN_VERSION}-bin New-Item -ItemType Directory -Path C:/ProgramData/Maven/Reference | Out-Null ; ` Remove-Item ${env:TEMP}/apache-maven.zip -ENV MAVEN_HOME C:/ProgramData/Maven -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_HOME=C:/ProgramData/Maven +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENV JAVA_HOME=C:/ProgramData/zulu17.48.15-ca-jdk17.0.10-win_x64 diff --git a/azulzulu-17/Dockerfile b/azulzulu-17/Dockerfile index 613c1c23..8b1b610f 100644 --- a/azulzulu-17/Dockerfile +++ b/azulzulu-17/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/azulzulu-21-alpine/Dockerfile b/azulzulu-21-alpine/Dockerfile index 304daf62..1e71845b 100644 --- a/azulzulu-21-alpine/Dockerfile +++ b/azulzulu-21-alpine/Dockerfile @@ -3,12 +3,12 @@ FROM azul/zulu-openjdk-alpine:21 RUN apk add --no-cache bash procps curl tar openssh-client # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/azulzulu-21/Dockerfile b/azulzulu-21/Dockerfile index 3517f716..48ed1cf1 100644 --- a/azulzulu-21/Dockerfile +++ b/azulzulu-21/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/azulzulu-8-alpine/Dockerfile b/azulzulu-8-alpine/Dockerfile index 6ab2a960..47581448 100644 --- a/azulzulu-8-alpine/Dockerfile +++ b/azulzulu-8-alpine/Dockerfile @@ -3,12 +3,12 @@ FROM azul/zulu-openjdk-alpine:8 RUN apk add --no-cache bash procps curl tar openssh-client # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/azulzulu-8/Dockerfile b/azulzulu-8/Dockerfile index d617b701..5b4e8527 100644 --- a/azulzulu-8/Dockerfile +++ b/azulzulu-8/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-11-alpine/Dockerfile b/eclipse-temurin-11-alpine/Dockerfile index d456e0b2..19f80208 100644 --- a/eclipse-temurin-11-alpine/Dockerfile +++ b/eclipse-temurin-11-alpine/Dockerfile @@ -3,12 +3,12 @@ FROM eclipse-temurin:11-jdk-alpine RUN apk add --no-cache bash procps curl tar openssh-client # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-11-focal/Dockerfile b/eclipse-temurin-11-focal/Dockerfile index fe6beef2..ddfa899b 100644 --- a/eclipse-temurin-11-focal/Dockerfile +++ b/eclipse-temurin-11-focal/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-11/Dockerfile b/eclipse-temurin-11/Dockerfile index 78d32358..a4d09648 100644 --- a/eclipse-temurin-11/Dockerfile +++ b/eclipse-temurin-11/Dockerfile @@ -5,8 +5,8 @@ ARG USER_HOME_DIR="/root" ARG SHA=7d171def9b85846bf757a2cec94b7529371068a0670df14682447224e57983528e97a6d1b850327e4ca02b139abaab7fcb93c4315119e6f0ffb3f0cbc0d0b9a2 ARG BASE_URL=https://downloads.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries -ENV MAVEN_HOME /usr/share/maven -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_HOME=/usr/share/maven +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" RUN apt-get update \ && apt-get install -y ca-certificates curl git gnupg dirmngr --no-install-recommends \ @@ -36,12 +36,12 @@ RUN apt-get update \ && apt-get install -y ca-certificates curl git openssh-client --no-install-recommends \ && rm -rf /var/lib/apt/lists/* -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=builder ${MAVEN_HOME} ${MAVEN_HOME} COPY mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -51,7 +51,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-17-alpine/Dockerfile b/eclipse-temurin-17-alpine/Dockerfile index b861d112..bb4f5f0a 100644 --- a/eclipse-temurin-17-alpine/Dockerfile +++ b/eclipse-temurin-17-alpine/Dockerfile @@ -3,12 +3,12 @@ FROM eclipse-temurin:17-jdk-alpine RUN apk add --no-cache bash procps curl tar openssh-client # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-17-focal/Dockerfile b/eclipse-temurin-17-focal/Dockerfile index ae7b9277..5b9a639c 100644 --- a/eclipse-temurin-17-focal/Dockerfile +++ b/eclipse-temurin-17-focal/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-17/Dockerfile b/eclipse-temurin-17/Dockerfile index 8e543272..9ee04188 100644 --- a/eclipse-temurin-17/Dockerfile +++ b/eclipse-temurin-17/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-21-alpine/Dockerfile b/eclipse-temurin-21-alpine/Dockerfile index 956be79a..e672ecc0 100644 --- a/eclipse-temurin-21-alpine/Dockerfile +++ b/eclipse-temurin-21-alpine/Dockerfile @@ -3,12 +3,12 @@ FROM eclipse-temurin:21-jdk-alpine RUN apk add --no-cache bash procps curl tar openssh-client # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-21-jammy/Dockerfile b/eclipse-temurin-21-jammy/Dockerfile index 50ce96f3..8d22ce72 100644 --- a/eclipse-temurin-21-jammy/Dockerfile +++ b/eclipse-temurin-21-jammy/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-21/Dockerfile b/eclipse-temurin-21/Dockerfile index b6779f56..a2e8f787 100644 --- a/eclipse-temurin-21/Dockerfile +++ b/eclipse-temurin-21/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-22-alpine/Dockerfile b/eclipse-temurin-22-alpine/Dockerfile index 2b38719d..a53c463a 100644 --- a/eclipse-temurin-22-alpine/Dockerfile +++ b/eclipse-temurin-22-alpine/Dockerfile @@ -3,12 +3,12 @@ FROM eclipse-temurin:22-jdk-alpine RUN apk add --no-cache bash procps curl tar openssh-client # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-22-jammy/Dockerfile b/eclipse-temurin-22-jammy/Dockerfile index 3ebc3a67..f92c670f 100644 --- a/eclipse-temurin-22-jammy/Dockerfile +++ b/eclipse-temurin-22-jammy/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-22/Dockerfile b/eclipse-temurin-22/Dockerfile index 99729091..41cfa962 100644 --- a/eclipse-temurin-22/Dockerfile +++ b/eclipse-temurin-22/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-8-alpine/Dockerfile b/eclipse-temurin-8-alpine/Dockerfile index afb1bece..be3d3b73 100644 --- a/eclipse-temurin-8-alpine/Dockerfile +++ b/eclipse-temurin-8-alpine/Dockerfile @@ -3,12 +3,12 @@ FROM eclipse-temurin:8-jdk-alpine RUN apk add --no-cache bash procps curl tar openssh-client # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-8-focal/Dockerfile b/eclipse-temurin-8-focal/Dockerfile index 7bb47526..5b1375d2 100644 --- a/eclipse-temurin-8-focal/Dockerfile +++ b/eclipse-temurin-8-focal/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/eclipse-temurin-8/Dockerfile b/eclipse-temurin-8/Dockerfile index 722022f2..9004d078 100644 --- a/eclipse-temurin-8/Dockerfile +++ b/eclipse-temurin-8/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/graalvm-community-17/Dockerfile b/graalvm-community-17/Dockerfile index a2d7d9d2..3cec94a6 100644 --- a/graalvm-community-17/Dockerfile +++ b/graalvm-community-17/Dockerfile @@ -7,7 +7,7 @@ LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven 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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -17,7 +17,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/graalvm-community-21/Dockerfile b/graalvm-community-21/Dockerfile index 816a3682..dfdd40fd 100644 --- a/graalvm-community-21/Dockerfile +++ b/graalvm-community-21/Dockerfile @@ -8,7 +8,7 @@ LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven 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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/ibm-semeru-11-focal/Dockerfile b/ibm-semeru-11-focal/Dockerfile index 8c41cf4a..e092485e 100644 --- a/ibm-semeru-11-focal/Dockerfile +++ b/ibm-semeru-11-focal/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/ibm-semeru-17-focal/Dockerfile b/ibm-semeru-17-focal/Dockerfile index b79c82c4..f416ca1e 100644 --- a/ibm-semeru-17-focal/Dockerfile +++ b/ibm-semeru-17-focal/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/ibm-semeru-21-jammy/Dockerfile b/ibm-semeru-21-jammy/Dockerfile index 0d76c816..cc362819 100644 --- a/ibm-semeru-21-jammy/Dockerfile +++ b/ibm-semeru-21-jammy/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/ibmjava-8/Dockerfile b/ibmjava-8/Dockerfile index b5e5dd13..ad59f220 100644 --- a/ibmjava-8/Dockerfile +++ b/ibmjava-8/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/libericaopenjdk-11-alpine/Dockerfile b/libericaopenjdk-11-alpine/Dockerfile index 9e1caaae..82c8c465 100644 --- a/libericaopenjdk-11-alpine/Dockerfile +++ b/libericaopenjdk-11-alpine/Dockerfile @@ -3,12 +3,12 @@ FROM bellsoft/liberica-openjdk-alpine:11 RUN apk add --no-cache bash procps curl tar openssh-client # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/libericaopenjdk-11-debian/Dockerfile b/libericaopenjdk-11-debian/Dockerfile index 6a63f1c9..3859b0f7 100644 --- a/libericaopenjdk-11-debian/Dockerfile +++ b/libericaopenjdk-11-debian/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/libericaopenjdk-17-alpine/Dockerfile b/libericaopenjdk-17-alpine/Dockerfile index 8afdec67..8500d17a 100644 --- a/libericaopenjdk-17-alpine/Dockerfile +++ b/libericaopenjdk-17-alpine/Dockerfile @@ -3,12 +3,12 @@ FROM bellsoft/liberica-openjdk-alpine:17 RUN apk add --no-cache bash procps curl tar openssh-client # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/libericaopenjdk-17-debian/Dockerfile b/libericaopenjdk-17-debian/Dockerfile index ef44b7dd..971d410e 100644 --- a/libericaopenjdk-17-debian/Dockerfile +++ b/libericaopenjdk-17-debian/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/libericaopenjdk-8-alpine/Dockerfile b/libericaopenjdk-8-alpine/Dockerfile index e27e7a2c..f2415ef6 100644 --- a/libericaopenjdk-8-alpine/Dockerfile +++ b/libericaopenjdk-8-alpine/Dockerfile @@ -3,12 +3,12 @@ FROM bellsoft/liberica-openjdk-alpine:8 RUN apk add --no-cache bash procps curl tar openssh-client # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/libericaopenjdk-8-debian/Dockerfile b/libericaopenjdk-8-debian/Dockerfile index 075606a9..cb101e89 100644 --- a/libericaopenjdk-8-debian/Dockerfile +++ b/libericaopenjdk-8-debian/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/microsoft-openjdk-11-ubuntu/Dockerfile b/microsoft-openjdk-11-ubuntu/Dockerfile index 5d145639..3659dfb1 100644 --- a/microsoft-openjdk-11-ubuntu/Dockerfile +++ b/microsoft-openjdk-11-ubuntu/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/microsoft-openjdk-17-ubuntu/Dockerfile b/microsoft-openjdk-17-ubuntu/Dockerfile index f8d1d22d..dd4a8875 100644 --- a/microsoft-openjdk-17-ubuntu/Dockerfile +++ b/microsoft-openjdk-17-ubuntu/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/microsoft-openjdk-21-ubuntu/Dockerfile b/microsoft-openjdk-21-ubuntu/Dockerfile index 24e7fc4b..5a1785b2 100644 --- a/microsoft-openjdk-21-ubuntu/Dockerfile +++ b/microsoft-openjdk-21-ubuntu/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/openjdk-11-nanoserver/Dockerfile b/openjdk-11-nanoserver/Dockerfile index 4758e0a5..ec789d3a 100644 --- a/openjdk-11-nanoserver/Dockerfile +++ b/openjdk-11-nanoserver/Dockerfile @@ -7,10 +7,10 @@ FROM openjdk:${JAVA_VERSION}-windowsservercore-1809 as openjdk FROM mcr.microsoft.com/powershell:${POWERSHELL_VERSION}nanoserver-1809 -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] @@ -35,8 +35,8 @@ RUN Invoke-WebRequest -Uri ${env:BASE_URL}/apache-maven-${env:MAVEN_VERSION}-bin New-Item -ItemType Directory -Path C:/ProgramData/Maven/Reference | Out-Null ; ` Remove-Item ${env:TEMP}/apache-maven.zip -ENV MAVEN_HOME C:/ProgramData/Maven -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_HOME=C:/ProgramData/Maven +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" COPY mvn-entrypoint.ps1 C:/ProgramData/Maven/mvn-entrypoint.ps1 COPY settings-docker.xml C:/ProgramData/Maven/Reference/settings-docker.xml diff --git a/openjdk-11-windowsservercore/Dockerfile b/openjdk-11-windowsservercore/Dockerfile index 566c9bbe..a73d35f3 100644 --- a/openjdk-11-windowsservercore/Dockerfile +++ b/openjdk-11-windowsservercore/Dockerfile @@ -1,10 +1,10 @@ # escape=` FROM openjdk:11-jdk-windowsservercore-1809 -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] @@ -20,8 +20,8 @@ RUN Invoke-WebRequest -Uri ${env:BASE_URL}/apache-maven-${env:MAVEN_VERSION}-bin New-Item -ItemType Directory -Path C:/ProgramData/Maven/Reference | Out-Null ; ` Remove-Item ${env:TEMP}/apache-maven.zip -ENV MAVEN_HOME C:/ProgramData/Maven -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_HOME=C:/ProgramData/Maven +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" COPY mvn-entrypoint.ps1 C:/ProgramData/Maven/mvn-entrypoint.ps1 COPY settings-docker.xml C:/ProgramData/Maven/Reference/settings-docker.xml diff --git a/openjdk-8-nanoserver/Dockerfile b/openjdk-8-nanoserver/Dockerfile index 052adf8e..b5692918 100644 --- a/openjdk-8-nanoserver/Dockerfile +++ b/openjdk-8-nanoserver/Dockerfile @@ -7,10 +7,10 @@ FROM openjdk:${JAVA_VERSION}-windowsservercore-1809 as openjdk FROM mcr.microsoft.com/powershell:${POWERSHELL_VERSION}nanoserver-1809 -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] @@ -35,8 +35,8 @@ RUN Invoke-WebRequest -Uri ${env:BASE_URL}/apache-maven-${env:MAVEN_VERSION}-bin New-Item -ItemType Directory -Path C:/ProgramData/Maven/Reference | Out-Null ; ` Remove-Item ${env:TEMP}/apache-maven.zip -ENV MAVEN_HOME C:/ProgramData/Maven -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_HOME=C:/ProgramData/Maven +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" COPY mvn-entrypoint.ps1 C:/ProgramData/Maven/mvn-entrypoint.ps1 COPY settings-docker.xml C:/ProgramData/Maven/Reference/settings-docker.xml diff --git a/openjdk-8-windowsservercore/Dockerfile b/openjdk-8-windowsservercore/Dockerfile index 1ad5fdc1..9d4aa2c3 100644 --- a/openjdk-8-windowsservercore/Dockerfile +++ b/openjdk-8-windowsservercore/Dockerfile @@ -1,10 +1,10 @@ # escape=` FROM openjdk:8-jdk-windowsservercore-1809 -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] @@ -20,8 +20,8 @@ RUN Invoke-WebRequest -Uri ${env:BASE_URL}/apache-maven-${env:MAVEN_VERSION}-bin New-Item -ItemType Directory -Path C:/ProgramData/Maven/Reference | Out-Null ; ` Remove-Item ${env:TEMP}/apache-maven.zip -ENV MAVEN_HOME C:/ProgramData/Maven -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_HOME=C:/ProgramData/Maven +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" COPY mvn-entrypoint.ps1 C:/ProgramData/Maven/mvn-entrypoint.ps1 COPY settings-docker.xml C:/ProgramData/Maven/Reference/settings-docker.xml diff --git a/oracle-graalvm-17/Dockerfile b/oracle-graalvm-17/Dockerfile index e09ec55a..0bfe9c68 100644 --- a/oracle-graalvm-17/Dockerfile +++ b/oracle-graalvm-17/Dockerfile @@ -3,12 +3,12 @@ FROM container-registry.oracle.com/graalvm/native-image:17 RUN microdnf --refresh -y install findutils openssh-clients # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/oracle-graalvm-21/Dockerfile b/oracle-graalvm-21/Dockerfile index 7422c6a6..5087eb8e 100644 --- a/oracle-graalvm-21/Dockerfile +++ b/oracle-graalvm-21/Dockerfile @@ -3,12 +3,12 @@ FROM container-registry.oracle.com/graalvm/native-image:21 RUN microdnf --refresh -y install findutils openssh-clients # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -18,7 +18,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/sapmachine-11/Dockerfile b/sapmachine-11/Dockerfile index 27e09e17..8a5ff37e 100644 --- a/sapmachine-11/Dockerfile +++ b/sapmachine-11/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/sapmachine-17/Dockerfile b/sapmachine-17/Dockerfile index 25cb39c5..b9822b20 100644 --- a/sapmachine-17/Dockerfile +++ b/sapmachine-17/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/sapmachine-21/Dockerfile b/sapmachine-21/Dockerfile index d9affb21..3961c116 100644 --- a/sapmachine-21/Dockerfile +++ b/sapmachine-21/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"] diff --git a/sapmachine-22/Dockerfile b/sapmachine-22/Dockerfile index 9f299331..7ff40058 100644 --- a/sapmachine-22/Dockerfile +++ b/sapmachine-22/Dockerfile @@ -5,12 +5,12 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # common for all images -LABEL org.opencontainers.image.title "Apache Maven" -LABEL org.opencontainers.image.source https://github.com/carlossg/docker-maven -LABEL org.opencontainers.image.url https://github.com/carlossg/docker-maven -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." +LABEL org.opencontainers.image.title="Apache Maven" +LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven +LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven +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." -ENV MAVEN_HOME /usr/share/maven +ENV MAVEN_HOME=/usr/share/maven COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh @@ -20,7 +20,7 @@ RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn ARG MAVEN_VERSION=3.9.8 ARG USER_HOME_DIR="/root" -ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" +ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2" ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] CMD ["mvn"]