From a7ae43c04685818ddf8e371c6da3649f5e5d86de Mon Sep 17 00:00:00 2001 From: TheHomecraft Date: Sun, 28 Jun 2026 11:45:33 +0200 Subject: [PATCH] Add earthly/java/shell.sh --- earthly/java/shell.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 earthly/java/shell.sh diff --git a/earthly/java/shell.sh b/earthly/java/shell.sh new file mode 100644 index 0000000..acd8b63 --- /dev/null +++ b/earthly/java/shell.sh @@ -0,0 +1,4 @@ +apt update && apt install -y wget gpg apt-transport-https && wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public \ + | gpg --dearmor \ + | tee /etc/apt/trusted.gpg.d/adoptium.gpg > /dev/null && echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" \ + | tee /etc/apt/sources.list.d/adoptium.list && apt update \ No newline at end of file