Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions container/postgresql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,23 @@ ARG RETICULUM_IMAGE_TAG=local

FROM ghcr.io/code0-tech/reticulum/ci-builds/mise:$RETICULUM_IMAGE_TAG

ARG POSTGRESQL_VERSION=16.1
ARG POSTGRESQL_VERSION=18.3
LABEL org.opencontainers.image.version=$POSTGRESQL_VERSION

RUN apk add --update --no-cache build-base linux-headers icu-data-full icu-dev readline-dev zlib-dev libressl-dev musl-dev libffi-dev util-linux-dev
RUN apk add --update --no-cache \
build-base \
linux-headers \
icu-data-full \
icu-dev \
readline-dev \
zlib-dev \
libressl-dev \
musl-dev \
libffi-dev \
util-linux-dev \
bison \
flex \
perl

RUN mise plugins install postgres
RUN echo "POSTGRES_SKIP_INITDB=true" > .install-env \
Expand Down
4 changes: 2 additions & 2 deletions docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ services:
- runtime

postgres:
image: postgres:16.1
image: postgres:18.3
environment:
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- postgres-data:/var/lib/postgresql/data
- postgres-data:/var/lib/postgresql
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}" ]
interval: 10s
Expand Down
2 changes: 1 addition & 1 deletion support/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
postgres:
image: postgres:16.1
image: postgres:18.3
networks:
- boot
environment:
Expand Down