Closed jantman closed 4 years ago
It looks like installing from git is causing a local install of the python cryptography
module, which requires the libffi-dev and openssl-dev OS dependencies during the Docker build. Pushed a commit to fix that, as well as add a .dockerignore
file to make local docker builds faster. Tested locally, Docker image now builds.
Description
The mailer in this project / Docker image is currently broken because of upstream https://github.com/cloud-custodian/cloud-custodian/issues/5707 where c7n-mailer failed to declare its dependency on
jsonpointer
andjsonpatch
, causing mailer to fail to run. This was fixed in https://github.com/cloud-custodian/cloud-custodian/pull/5708 upstream, which has been merged to master but not yet released (the release will be done whenever https://github.com/cloud-custodian/cloud-custodian/pull/5734 is merged).This PR goes back to installing c7n and c7n-mailer from upstream git, in order to pull in this fix. Once there's a new upstream release, we'll revert these changes and bump to the latest upstream version.
Testing Done
Automated tests via tox show the install is now pulling in
jsonpatch==1.25
andjsonpointer==2.0
.