Something went wrong. Try again.
Docker images for postgres extended with management bash scripts.
Something went wrong. Try again.
511 B · 14 lines
Dockerfile
at main
123456789101112131415# parametrize docker image and tag# ------------------------------------------------------------------------------ARG POSTGRES_IMAGE=docker.io/postgresARG POSTGRES_VERSION=16
FROM ${POSTGRES_IMAGE}:${POSTGRES_VERSION}
# copy maintenance scripts# ------------------------------------------------------------------------------
COPY ./maintenance /usr/local/bin/maintenanceRUN chmod +x /usr/local/bin/maintenance/*RUN mv /usr/local/bin/maintenance/* /usr/local/bin \ && rmdir /usr/local/bin/maintenance