Skip to content

Commit 65361b6

Browse files
authored
Merge pull request #819 from gruntwork-io/brikis98-patch-1
Update JDK install
2 parents e33ec17 + 646466e commit 65361b6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.circleci/config.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,17 @@ references:
4040
sudo python3.7 -m pip install --upgrade pip setuptools wheel
4141
sudo python3.7 -m pip install pipenv
4242
43+
# We're installing the JDK from Adoptium
44+
# https://adoptium.net/blog/2021/12/eclipse-temurin-linux-installers-available/
4345
install_jdk: &install-jdk
4446
run:
4547
name: install jdk 8
4648
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
5054
5155
deploy_to_staging: &deploy-to-staging
5256
run:

0 commit comments

Comments
 (0)