- Change into the current directory:
git clone https://github.com/bhearn7/examples.git
cd examples/airflow-core- In the FROM line of your Dockerfile, replace
ORGwith your Chainguard registry:
ORG=example-org
sed "s|/ORG/|/$ORG/|" ./Dockerfile > dfc.tmp && mv dfc.tmp ./Dockerfile.$ORG- Build the image:
docker build -t airflow-core:cgr-latest -f ./Dockerfile.$ORG .Secure Your Application Dependencies
Instead of pulling potentially malicious dependencies from PyPI/MavenCentral/NPM, eliminate even more vulnerabilities in your applications by utilizing libraries built from source:
- Announcing Chainguard Libraries for Python: Malware-Resistant Dependencies Built Securely from Source
- Guarding the Python Ecosystem Against the Growing Number of Severe Malware Attacks
- Mitigating Malware in the Python Ecosystem with Chainguard Libraries
- Malware-Resistant Python without the Guesswork
- Chainguard Libraries Overview