diff --git a/Others/glassfish/710-20250515-before-cpenv/24.03-lts-sp2/Dockerfile b/Others/glassfish/710-20250515-before-cpenv/24.03-lts-sp2/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..6c44a16fef8b4afbc6437e1fdbc0cacae218b3ba --- /dev/null +++ b/Others/glassfish/710-20250515-before-cpenv/24.03-lts-sp2/Dockerfile @@ -0,0 +1,21 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=710-20250515-before-cpenv + +RUN yum install -y java-17-openjdk-devel git && \ + yum clean all && \ + cd / && \ + curl -fSL -o apache-maven.tar.gz https://repo.huaweicloud.com/apache/maven/maven-3/3.9.3/binaries/apache-maven-3.9.3-bin.tar.gz && \ + mkdir -p /usr/local/maven && \ + tar -zxf apache-maven.tar.gz -C /usr/local/maven --strip-components=1 && \ + rm -rf apache-maven.tar.gz + +ENV MAVEN_HOME=/usr/local/maven +ENV PATH=${MAVEN_HOME}/bin:$PATH + +WORKDIR / +RUN git clone -b ${VERSION} https://github.com/eclipse-ee4j/glassfish.git && \ + cd glassfish && \ + mvn clean install -Pfastest -T4C \ No newline at end of file diff --git a/Others/glassfish/README.md b/Others/glassfish/README.md index c6dd3423254dedf5436236cd9327c055ba46d2f5..fb43917642920f32c419d3edc3773d4d90dcff5d 100644 --- a/Others/glassfish/README.md +++ b/Others/glassfish/README.md @@ -18,6 +18,7 @@ The tag of each `glassfish` docker image is consist of the version of `glassfish | Tag | Currently | Architectures | |--------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------|---------------| +|[710-20250515-before-cpenv-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/glassfish/710-20250515-before-cpenv/24.03-lts-sp2/Dockerfile) | glassfish 710-20250515-before-cpenv on openEuler 24.03-LTS-SP2 | amd64, arm64 | | [7.0.23-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/glassfish/7.0.23/24.03-lts-sp1/Dockerfile) | GlassFish 7.0.23 on openEuler 24.03-LTS-SP1 | amd64, arm64 | # Usage diff --git a/Others/glassfish/doc/image-info.yml b/Others/glassfish/doc/image-info.yml index 76f33a8604ac3d81920c67c6091868a9ac003495..149d04419fba8cf42e24c5586a5d0c36edce49f5 100644 --- a/Others/glassfish/doc/image-info.yml +++ b/Others/glassfish/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| + |[710-20250515-before-cpenv-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/glassfish/710-20250515-before-cpenv/24.03-lts-sp2/Dockerfile) | glassfish 710-20250515-before-cpenv on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[7.0.23-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/glassfish/7.0.23/24.03-lts-sp1/Dockerfile)| GlassFish 7.0.23 on openEuler 24.03-LTS-SP1 | amd64, arm64 | download: | @@ -54,4 +55,4 @@ upstream: version_url: eclipse-ee4j/glassfish backend: GitHub version_scheme: RPM - version_filter: M;JDK + version_filter: M;JDK \ No newline at end of file diff --git a/Others/glassfish/meta.yml b/Others/glassfish/meta.yml index d127a9dadea4d14e0e77968416879e603042b73c..4f1153a6ef1ba97c1a19f5c23cc06e6e66a2cfe0 100644 --- a/Others/glassfish/meta.yml +++ b/Others/glassfish/meta.yml @@ -1,4 +1,6 @@ 7.0.23-oe2403sp1: path: 7.0.23/24.03-lts-sp1/Dockerfile 7.0.25-oe2403sp1: - path: 7.0.25/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 7.0.25/24.03-lts-sp1/Dockerfile +710-20250515-before-cpenv-oe2403sp2: + path: 710-20250515-before-cpenv/24.03-lts-sp2/Dockerfile \ No newline at end of file