neondatabase / autoscaling

Postgres vertical autoscaling in k8s
Apache License 2.0
166 stars 21 forks source link

Fix warnings in dockerfiles #1042

Closed bayandin closed 3 months ago

bayandin commented 3 months ago

Relatively recently, docker has introduced a "linter" for dockerfiles: https://docs.docker.com/reference/build-checks/ I went through all the files (using for f in $(find . -name Dockerfile); do docker build --check -f $f . ; done) and fixed found warnings. A newer version of docker/build-push-action will report such warnings as build annotations (see https://github.com/neondatabase/autoscaling/pull/1041/files, scroll down to "Unchanged files with check annotations")