diff --git a/Dockerfile b/Dockerfile index dfb19b3ce..3549260e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ FROM registry.access.redhat.com/ubi9/ubi-minimal -RUN curl -o /etc/yum.repos.d/mmraka-postgresql-15-epel-9.repo https://copr.fedorainfracloud.org/coprs/mmraka/postgresql-15/repo/epel-9/mmraka-postgresql-15-epel-9.repo +RUN curl -o /etc/yum.repos.d/postgresql.repo \ + https://copr.fedorainfracloud.org/coprs/g/insights/postgresql-16/repo/epel-9/group_insights-postgresql-16-epel-9.repo + RUN microdnf install -y --setopt=install_weak_deps=0 --setopt=tsflags=nodocs \ python311 python3.11-pip python3.11-devel libpq-devel gcc which shadow-utils diffutils systemd libicu git-core postgresql pg_repack && \ microdnf clean all diff --git a/Dockerfile.test b/Dockerfile.test index a1846aedc..5f73992ec 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -1,6 +1,8 @@ FROM registry.access.redhat.com/ubi9/ubi-minimal -RUN curl -o /etc/yum.repos.d/mmraka-postgresql-15-epel-9.repo https://copr.fedorainfracloud.org/coprs/mmraka/postgresql-15/repo/epel-9/mmraka-postgresql-15-epel-9.repo +RUN curl -o /etc/yum.repos.d/postgresql.repo \ + https://copr.fedorainfracloud.org/coprs/g/insights/postgresql-16/repo/epel-9/group_insights-postgresql-16-epel-9.repo + RUN microdnf install -y --setopt=install_weak_deps=0 --setopt=tsflags=nodocs \ python311 python3.11-pip python3.11-devel libpq-devel gcc git postgresql-server which findutils diffutils && \ microdnf clean all diff --git a/docker-compose.yml b/docker-compose.yml index 5db2ebea5..e3739fdd7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: - "-c" - "timezone=UTC" container_name: vulnerability-engine-database - image: docker.io/library/postgres:15 + image: docker.io/library/postgres:16 restart: unless-stopped env_file: - ./conf/common.env diff --git a/platform_mock/Dockerfile b/platform_mock/Dockerfile index 0d9b5f108..91255b6ee 100644 --- a/platform_mock/Dockerfile +++ b/platform_mock/Dockerfile @@ -1,6 +1,7 @@ FROM registry.access.redhat.com/ubi9/ubi-minimal -RUN curl -o /etc/yum.repos.d/mmraka-postgresql-15-epel-9.repo https://copr.fedorainfracloud.org/coprs/mmraka/postgresql-15/repo/epel-9/mmraka-postgresql-15-epel-9.repo +RUN curl -o /etc/yum.repos.d/postgresql.repo \ + https://copr.fedorainfracloud.org/coprs/g/insights/postgresql-16/repo/epel-9/group_insights-postgresql-16-epel-9.repo RUN microdnf install -y --setopt=install_weak_deps=0 --setopt=tsflags=nodocs \ python311 python3.11-pip python3.11-devel libpq-devel gcc which java-openjdk-headless shadow-utils tar gzip file vim systemd libicu postgresql && \