summaryrefslogtreecommitdiff
path: root/src/main/docker/runtime/prepare
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-05-14 21:19:55 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2022-05-18 21:45:51 +0200
commit4f7a7371e758c4ea00af22998a99b0d628aa070a (patch)
tree6b77fc11378fd998068bf235f69a1f08066524d5 /src/main/docker/runtime/prepare
parentd383b6af1cec499a91168e3a75bfdf4f87d650c2 (diff)
Remove runtime container image recipe (moved to “container-images” repository).
Change-Id: I35f3c0252b1002afd50e7f4bf9509fe2f5f3992b
Diffstat (limited to 'src/main/docker/runtime/prepare')
-rwxr-xr-xsrc/main/docker/runtime/prepare16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main/docker/runtime/prepare b/src/main/docker/runtime/prepare
deleted file mode 100755
index f0fddba..0000000
--- a/src/main/docker/runtime/prepare
+++ /dev/null
@@ -1,16 +0,0 @@
-#! /bin/sh
-# SPDX-FileCopyrightText: © 2022 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
-#
-# SPDX-License-Identifier: GPL-3.0-or-later
-
-set -euo pipefail
-
-cd "$(dirname $(readlink -e "$0"))"
-
-openjdk_package_info=$(curl "https://api.foojay.io/disco/v2.0/packages?package_type=jdk&latest=per_distro&directly_downloadable=true&release_status=ga&javafx_bundled=false&operating_system=linux&architecture=x64&archive_type=tar.gz&distro=oracle_open_jdk")
-
-openjdk_package_uri=$(jq -r '.result[0].links.pkg_download_redirect' <<<"${openjdk_package_info}")
-openjdk_package_filename=$(jq -r '.result[0].filename' <<<"${openjdk_package_info}")
-curl --fail --create-dirs -C - -o "jdk-dist/${openjdk_package_filename}" "${openjdk_package_uri}"
-
-ln -svf "${openjdk_package_filename}" "jdk-dist/latest.tar.gz"