logstash/.buildkite/scripts/setup_java.sh
2024-10-17 15:47:52 +01:00

10 lines
266 B
Bash
Executable file

#!/bin/bash
set -e
install_java() {
# TODO: let's think about regularly creating a custom image for Logstash which may align on version.yml definitions
sudo apt update && sudo apt install -y openjdk-21-jdk && sudo apt install -y openjdk-21-jre
}
install_java