We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38dd31f commit d856a85Copy full SHA for d856a85
test.bats
@@ -61,7 +61,7 @@ teardown() {
61
@test "py3.6 uses cache with dockerizePip option" {
62
[ -z "$CIRCLE_BRANCH" ] || skip "Volumes are weird in CircleCI https://circleci.com/docs/2.0/building-docker-images/#mounting-folders"
63
! uname -sm|grep Linux || groups|grep docker || id -u|egrep '^0$' || skip "can't dockerize on linux if not root & not in docker group"
64
- sed -i'.bak' -re 's/(pythonRequirements:$)/\1\n pipCmdExtraArgs: ["--cache-dir", ".requirements-cache"]/' serverless.yml
+ perl -p -i'.bak' -e 's/(pythonRequirements:$)/\1\n pipCmdExtraArgs: ["--cache-dir", ".requirements-cache"]/' serverless.yml
65
sls --dockerizePip=true package
66
ls .requirements-cache/http
67
}
0 commit comments