Skip to content

Commit 37aa2e8

Browse files
authored
Fix invalid certificate error during package downloads in CI (#826)
1 parent acee5f0 commit 37aa2e8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 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]
@@ -46,10 +46,11 @@ references:
4646
run:
4747
name: install jdk 8
4848
command: |
49+
sudo apt-get update -y
50+
sudo apt-get install --reinstall -y ca-certificates
4951
sudo apt-get install -y wget apt-transport-https gnupg
5052
wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | sudo apt-key add -
5153
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
5354
sudo apt install -y temurin-8-jdk
5455
5556
deploy_to_staging: &deploy-to-staging

0 commit comments

Comments
 (0)