From d6a4006f38f9b0eea2cc3a56e06ee19130aec16b Mon Sep 17 00:00:00 2001 From: Adrian Enns Date: Fri, 19 Jun 2020 09:39:19 -0600 Subject: [PATCH] Fixed CircleCI/Python (#205) * Fixed CircleCI/Python * Fixed problems pointed out by Rajiv for CircleCi * Think this is right for CircleCi now * Another try --- .circleci/config.yml | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 73ceddb..ebe8b50 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,20 +21,19 @@ defaults_Dependencies: &defaults_Dependencies | apk --no-cache add ca-certificates apk --no-cache add curl apk --no-cache add openssh-client - apk --no-cache add bash apk add --no-cache -t build-dependencies make gcc g++ python libtool autoconf automake npm config set unsafe-perm true npm install -g node-gyp defaults_awsCliDependencies: &defaults_awsCliDependencies | - apk --no-cache add \ - python \ - py-pip \ - groff \ - less \ - mailcap - pip install --upgrade awscli==1.14.5 s3cmd==2.0.1 python-magic - apk -v --purge del py-pip + apk upgrade --no-cache + apk --no-cache add \ + python3 \ + py3-pip \ + groff \ + less \ + mailcap + 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 @@ -222,10 +221,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