Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade postgres from 15.2 to 15.5 #477

Merged
merged 11 commits into from
Jan 18, 2024
12 changes: 6 additions & 6 deletions docker-images/psql/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
FROM postgres:15.2
FROM postgres:15.5

COPY init-scripts/create-multiple-postgresql-databases.sh /docker-entrypoint-initdb.d/create-multiple-postgresql-databases.sh

RUN apt update

RUN apt-get install python3-pip python3-dev libpq-dev -y
RUN apt-get install python3-pip python3-dev libpq-dev python3-full -y

RUN pip3 install --upgrade pip
#RUN pip3 install --upgrade pip

RUN pip install patroni
RUN pip3 install patroni --break-system-packages

RUN pip install python-etcd
RUN pip3 install python-etcd --break-system-packages

RUN pip install psycopg2
RUN pip3 install psycopg2 --break-system-packages

RUN apt update

Expand Down
2 changes: 2 additions & 0 deletions docker-images/psql/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build-docker:
docker build . -t vma-postgres
Loading