Skip to content

Commit

Permalink
AKR:OTR:VKT(Backend): Update DB base images.
Browse files Browse the repository at this point in the history
Use alpine variant to minimize number of vulnerabilities in base image.
This should hopefully reduce chances of snyk integration opening PRs of little use.
  • Loading branch information
pkoivisto committed Dec 20, 2023
1 parent 1359d84 commit f1ac8af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/akr/db/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM postgres:12.9
FROM postgres:12.17-alpine
COPY *.sql /docker-entrypoint-initdb.d/
ENV POSTGRES_DB=postgres
ENV POSTGRES_PASSWORD=postgres
2 changes: 1 addition & 1 deletion backend/otr/db/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM postgres:12.9
FROM postgres:12.17-alpine
COPY *.sql /docker-entrypoint-initdb.d/
ENV POSTGRES_DB=postgres
ENV POSTGRES_PASSWORD=postgres
2 changes: 1 addition & 1 deletion backend/vkt/db/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM postgres:12.9
FROM postgres:12.17-alpine
COPY *.sql /docker-entrypoint-initdb.d/
ENV POSTGRES_DB=postgres
ENV POSTGRES_PASSWORD=postgres

0 comments on commit f1ac8af

Please sign in to comment.