Skip to content

Commit

Permalink
Update Dockerfiles for SapMachine 17.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
SapMachine committed Sep 24, 2024
1 parent b0b6915 commit 2846f0b
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
15 changes: 15 additions & 0 deletions dockerfiles/17/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-17-jdk-headless=17.0.12 \
&& apt-get remove -y --purge --autoremove wget \
&& rm -rf /var/lib/apt/lists/*

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

CMD ["jshell"]
15 changes: 15 additions & 0 deletions dockerfiles/17/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-17-jdk=17.0.12 \
&& apt-get remove -y --purge --autoremove wget \
&& rm -rf /var/lib/apt/lists/*

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

CMD ["jshell"]
15 changes: 15 additions & 0 deletions dockerfiles/17/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-17-jre-headless=17.0.12 \
&& apt-get remove -y --purge --autoremove wget \
&& rm -rf /var/lib/apt/lists/*

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

CMD ["jshell"]
15 changes: 15 additions & 0 deletions dockerfiles/17/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-17-jre=17.0.12 \
&& apt-get remove -y --purge --autoremove wget \
&& rm -rf /var/lib/apt/lists/*

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

CMD ["jshell"]

0 comments on commit 2846f0b

Please sign in to comment.