pgsql+pgaudit
FROM postgres:17-trixie
# updating to avoid security issues
RUN apt-get update && \
apt-get upgrade -y && \
apt-get clean -y && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
# instalando pgaudit
RUN apt-get update && \
apt-get install -y postgresql-17-pgaudit \
postgresql-17-pgaudit-dbgsym \
postgresql-17-pgauditlogtofile \
postgresql-17-pgauditlogtofile-dbgsym && \
apt-get clean -y && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
build
docker build . -t gutocarvalho/pgsql-pgaudit:v17-debian13-trixie