You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2022/03/30 14:46:32 UTC

[sling-org-apache-sling-committer-cli] branch master updated: SLING-11234 - switching to eclipse-temurin:11-alpine (#12)

This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-committer-cli.git


The following commit(s) were added to refs/heads/master by this push:
     new 6cffd59  SLING-11234 - switching to eclipse-temurin:11-alpine (#12)
6cffd59 is described below

commit 6cffd59e501aeaf71352b8c02f36ad89f84556b7
Author: Dan Klco <kl...@users.noreply.github.com>
AuthorDate: Wed Mar 30 10:46:28 2022 -0400

    SLING-11234 - switching to eclipse-temurin:11-alpine (#12)
    
    * SLING-11234 - switching to eclipse-temurin:11-alpine
    
    * Adding labels to replace MAINTAINER
---
 Dockerfile | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index ea306fa..06d994c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,12 +9,16 @@
 # either express or implied. See the License for the specific language governing permissions
 # and limitations under the License.
 # ----------------------------------------------------------------------------------------
-FROM azul/zulu-openjdk-alpine:11 as builder
-MAINTAINER dev@sling.apache.org
-RUN /usr/lib/jvm/zulu11-ca/bin/jlink --add-modules java.logging,java.naming,java.xml,java.security.jgss,java.sql,jdk.crypto.ec,java.desktop \
-          --output /opt/jre --strip-debug --compress=2 --no-header-files --no-man-pages
+FROM eclipse-temurin:11-alpine as builder
+RUN $JAVA_HOME/bin/jlink --add-modules java.logging,java.naming,java.xml,java.security.jgss,java.sql,jdk.crypto.ec  --output /opt/jre --strip-debug --compress=2 --no-header-files --no-man-pages
 
 FROM alpine
+
+LABEL org.opencontainers.image.authors="dev@sling.apache.org"
+LABEL org.opencontainers.image.url="https://github.com/apache/sling-org-apache-sling-committer-cli/"
+LABEL org.opencontainers.image.vendor="Apache Software Foundation"
+LABEL org.opencontainers.image.licenses="Apache-2.0"
+
 COPY --from=builder /opt/jre /opt/jre
 
 # Generate class data sharing