File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,17 @@ references:
40
40
sudo python3.7 -m pip install --upgrade pip setuptools wheel
41
41
sudo python3.7 -m pip install pipenv
42
42
43
+ # We're installing the JDK from Adoptium
44
+ # https://adoptium.net/blog/2021/12/eclipse-temurin-linux-installers-available/
43
45
install_jdk : &install-jdk
44
46
run :
45
47
name : install jdk 8
46
48
command : |
47
- sudo apt-get install -y wget
48
- wget https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/pool/main/a/adoptopenjdk-8-hotspot/adoptopenjdk-8-hotspot_8u222-b10-2_amd64.deb
49
- sudo apt install ./adoptopenjdk-8-hotspot_8u222-b10-2_amd64.deb
49
+ sudo apt-get install -y wget apt-transport-https gnupg
50
+ wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | sudo apt-key add -
51
+ echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | sudo tee /etc/apt/sources.list.d/adoptium.list
52
+ sudo apt update -y
53
+ sudo apt install -y temurin-8-jdk
50
54
51
55
deploy_to_staging : &deploy-to-staging
52
56
run :
You can’t perform that action at this time.
0 commit comments