CrunchyData / crunchy-containers

Containers for Managing PostgreSQL on Kubernetes by Crunchy Data
https://www.crunchydata.com/
Apache License 2.0
1.01k stars 328 forks source link

replace ADD with COPY in all Dockerfiles #1483

Closed maxpschonder closed 8 months ago

maxpschonder commented 1 year ago

Checklist:

Type of Changes:

What is the current behavior? (link to any open issues here) Currently, in many crunchy container images, ADD is used instead of COPY. The functionality of both commands is identical when copying files. ADD is now considered a vulnerability by various container scanners. Docker itself recommends the use of COPY if ADD is not necessary.

What is the new behavior (if this is a feature change)?

Other information: