Skip to content

Commit c82d302

Browse files
committed
Bump version of docker orb
1 parent 79442e9 commit c82d302

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.circleci/config.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 2.1
44
# Define the ORBS we'll use in the rest of the workflow
55
######################################################################################################################
66
orbs:
7-
docker: circleci/docker@0.5.13
7+
docker: circleci/docker@2.4.0
88
awscli: circleci/[email protected]
99
slack: circleci/[email protected]
1010
python: circleci/[email protected]
@@ -44,11 +44,13 @@ references:
4444
# https://adoptium.net/blog/2021/12/eclipse-temurin-linux-installers-available/
4545
install_jdk: &install-jdk
4646
run:
47-
name: install jdk
47+
name: install jdk 8
4848
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
5254
5355
deploy_to_staging: &deploy-to-staging
5456
run:

0 commit comments

Comments
 (0)