diff --git a/.circleci/config.yml b/.circleci/config.yml index d9087ac5..fc439447 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,14 +26,14 @@ defaults_Dependencies: &defaults_Dependencies | npm install -g node-gyp defaults_awsCliDependencies: &defaults_awsCliDependencies | + apk upgrade --no-cache apk --no-cache add \ - python \ - py-pip \ + python3 \ + py3-pip \ groff \ less \ mailcap - pip install --upgrade awscli==1.14.5 s3cmd==2.0.1 python-magic - apk -v --purge del py-pip + pip3 install --upgrade pip awscli==1.14.5 s3cmd==2.0.1 python-magic defaults_license_scanner: &defaults_license_scanner name: Install and set up license-scanner @@ -252,10 +252,17 @@ jobs: - run: name: Install docker dependencies for anchore command: | - apk add --update py-pip docker python-dev libffi-dev openssl-dev gcc libc-dev make jq npm + apk add --update python3 py3-pip docker python3-dev libffi-dev openssl-dev gcc libc-dev make jq npm - run: name: Install general dependencies - command: *defaults_Dependencies + command: | + apk --no-cache add git + apk --no-cache add ca-certificates + apk --no-cache add curl + apk --no-cache add openssh-client + apk add --no-cache -t build-dependencies make gcc g++ python3 libtool autoconf automake + npm config set unsafe-perm true + npm install -g node-gyp - run: name: Install AWS CLI dependencies command: *defaults_awsCliDependencies