-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dockerfiles for SapMachine 23
- Loading branch information
1 parent
2846f0b
commit 156f322
Showing
4 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |