Skip to content

Commit

Permalink
fix: docker/db.Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Aug 17, 2024
1 parent 7f00d75 commit 37520db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/db.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# =====================
# --- Builder Stage ---
# =====================
FROM postgres:14.6 AS builder
FROM postgres:14 AS builder

ENV POSTGRES_PASSWORD=hk2j22sfiv
ENV POSTGRES_USER=django
Expand All @@ -19,7 +19,7 @@ RUN ["/usr/local/bin/docker-entrypoint.sh", "postgres"]
# ===================
# --- Final Image ---
# ===================
FROM postgres:14.6
FROM postgres:14
LABEL maintainer="IETF Tools Team <[email protected]>"

COPY --from=builder /data $PGDATA
Expand Down

0 comments on commit 37520db

Please sign in to comment.