Skip to content

Commit

Permalink
Update Dockerfiles for SapMachine 23
Browse files Browse the repository at this point in the history
  • Loading branch information
SapMachine committed Sep 24, 2024
1 parent 2846f0b commit 156f322
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
15 changes: 15 additions & 0 deletions dockerfiles/23/gardenlinux/1592/jdk-headless/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM ghcr.io/gardenlinux/gardenlinux:1592

RUN apt-get update \
&& apt-get -y --no-install-recommends install wget \
&& wget -qO- https://dist.sapmachine.io/debian/sapmachine.key > /etc/apt/trusted.gpg.d/sapmachine.asc \
&& chmod 644 /etc/apt/trusted.gpg.d/sapmachine.asc \
&& echo "deb https://dist.sapmachine.io/debian/$(dpkg --print-architecture)/ ./" > /etc/apt/sources.list.d/sapmachine.list \
&& apt-get update \
&& apt-get -y --no-install-recommends install sapmachine-23-jdk-headless=23 \
&& apt-get remove -y --purge --autoremove wget \
&& rm -rf /var/lib/apt/lists/*

ENV JAVA_HOME=/usr/lib/jvm/sapmachine-23

CMD ["jshell"]
15 changes: 15 additions & 0 deletions dockerfiles/23/gardenlinux/1592/jdk/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM ghcr.io/gardenlinux/gardenlinux:1592

RUN apt-get update \
&& apt-get -y --no-install-recommends install wget \
&& wget -qO- https://dist.sapmachine.io/debian/sapmachine.key > /etc/apt/trusted.gpg.d/sapmachine.asc \
&& chmod 644 /etc/apt/trusted.gpg.d/sapmachine.asc \
&& echo "deb https://dist.sapmachine.io/debian/$(dpkg --print-architecture)/ ./" > /etc/apt/sources.list.d/sapmachine.list \
&& apt-get update \
&& apt-get -y --no-install-recommends install sapmachine-23-jdk=23 \
&& apt-get remove -y --purge --autoremove wget \
&& rm -rf /var/lib/apt/lists/*

ENV JAVA_HOME=/usr/lib/jvm/sapmachine-23

CMD ["jshell"]
15 changes: 15 additions & 0 deletions dockerfiles/23/gardenlinux/1592/jre-headless/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM ghcr.io/gardenlinux/gardenlinux:1592

RUN apt-get update \
&& apt-get -y --no-install-recommends install wget \
&& wget -qO- https://dist.sapmachine.io/debian/sapmachine.key > /etc/apt/trusted.gpg.d/sapmachine.asc \
&& chmod 644 /etc/apt/trusted.gpg.d/sapmachine.asc \
&& echo "deb https://dist.sapmachine.io/debian/$(dpkg --print-architecture)/ ./" > /etc/apt/sources.list.d/sapmachine.list \
&& apt-get update \
&& apt-get -y --no-install-recommends install sapmachine-23-jre-headless=23 \
&& apt-get remove -y --purge --autoremove wget \
&& rm -rf /var/lib/apt/lists/*

ENV JAVA_HOME=/usr/lib/jvm/sapmachine-23

CMD ["jshell"]
15 changes: 15 additions & 0 deletions dockerfiles/23/gardenlinux/1592/jre/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM ghcr.io/gardenlinux/gardenlinux:1592

RUN apt-get update \
&& apt-get -y --no-install-recommends install wget \
&& wget -qO- https://dist.sapmachine.io/debian/sapmachine.key > /etc/apt/trusted.gpg.d/sapmachine.asc \
&& chmod 644 /etc/apt/trusted.gpg.d/sapmachine.asc \
&& echo "deb https://dist.sapmachine.io/debian/$(dpkg --print-architecture)/ ./" > /etc/apt/sources.list.d/sapmachine.list \
&& apt-get update \
&& apt-get -y --no-install-recommends install sapmachine-23-jre=23 \
&& apt-get remove -y --purge --autoremove wget \
&& rm -rf /var/lib/apt/lists/*

ENV JAVA_HOME=/usr/lib/jvm/sapmachine-23

CMD ["jshell"]

0 comments on commit 156f322

Please sign in to comment.