docker-maven
docker-maven copied to clipboard
Request: Add ppc64le-based openjdk-11 images
The "Unofficially supported" images at ppc64le/maven
, doesn't have the openjdk-based tags, specifically the maven3-openjdk-11
tag, which i need.
It seems that i can build the openjdk-11
Dockerfile as-is, only needing to run:
docker pull ppc64le/openjdk:11-jdk ; docker tag ppc64le/openjdk:11-jdk openjdk:11-jdk
before-hand, in order to get the base-image, so it seems like it would be trivial. Output from docker build
:
# docker build . -t test
Sending build context to Docker daemon 6.144kB
Step 1/12 : FROM openjdk:11-jdk
---> 73ee64ff3c0c
Step 2/12 : ARG MAVEN_VERSION=3.8.4
---> Running in d703b13847fb
Removing intermediate container d703b13847fb
---> b930f5729ada
Step 3/12 : ARG USER_HOME_DIR="/root"
---> Running in 8c7ebc38a707
Removing intermediate container 8c7ebc38a707
---> 5b5c2d358f59
Step 4/12 : ARG SHA=a9b2d825eacf2e771ed5d6b0e01398589ac1bfa4171f36154d1b5787879605507802f699da6f7cfc80732a5282fd31b28e4cd6052338cbef0fa1358b48a5e3c8
---> Running in ff0487d0eecd
Removing intermediate container ff0487d0eecd
---> bc3e9509ccb6
Step 5/12 : ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/${MAVEN_VERSION}/binaries
---> Running in 8451757a822b
Removing intermediate container 8451757a822b
---> 1d1f3761557e
Step 6/12 : RUN mkdir -p /usr/share/maven /usr/share/maven/ref && curl -fsSL -o /tmp/apache-maven.tar.gz ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz && echo "${SHA} /tmp/apache-maven.tar.gz" | sha512sum -c - && tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components=1 && rm -f /tmp/apache-maven.tar.gz && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
---> Running in 29ad9fbcda47
/tmp/apache-maven.tar.gz: OK
Removing intermediate container 29ad9fbcda47
---> 89bc11cdadda
Step 7/12 : ENV MAVEN_HOME /usr/share/maven
---> Running in 7b9300340d40
Removing intermediate container 7b9300340d40
---> bb80e0e9e642
Step 8/12 : ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2"
---> Running in de91293c8104
Removing intermediate container de91293c8104
---> 383e6282814f
Step 9/12 : COPY mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh
---> f3a9532b11ba
Step 10/12 : COPY settings-docker.xml /usr/share/maven/ref/
---> 0d0dd4dbc6cf
Step 11/12 : ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
---> Running in a28c8e2f46f4
Removing intermediate container a28c8e2f46f4
---> 277e872fd6f0
Step 12/12 : CMD ["mvn"]
---> Running in 9ce18e8f65ef
Removing intermediate container 9ce18e8f65ef
---> 5b784b89b7c1
Successfully built 5b784b89b7c1
Successfully tagged test:latest
I don't have any experience in publishing to docker-hub, but if i could get a few pointers i would gladly help with a PR if needed
there are no openjdk
ppc64le images, so until those are available I cannot provide a maven one
https://github.com/docker-library/official-images/blob/master/library/openjdk