File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ version: 2.1
4
4
# Define the ORBS we'll use in the rest of the workflow
5
5
# #####################################################################################################################
6
6
orbs :
7
- docker : circleci/docker@0.5.13
7
+ docker : circleci/docker@2.4.0
8
8
awscli :
circleci/[email protected]
9
9
10
10
python :
circleci/[email protected]
@@ -44,11 +44,13 @@ references:
44
44
# https://adoptium.net/blog/2021/12/eclipse-temurin-linux-installers-available/
45
45
install_jdk : &install-jdk
46
46
run :
47
- name : install jdk
47
+ name : install jdk 8
48
48
command : |
49
- sudo apt-get update
50
- sudo apt-get install openjdk-11-jre-headless # version 11.0.14+9-0ubuntu2
51
- sudo rm -rf /var/lib/apt/lists/*
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
52
54
53
55
deploy_to_staging : &deploy-to-staging
54
56
run :
You can’t perform that action at this time.
0 commit comments