Docker images for postgres extended with management bash scripts.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 14 lines 511 B view raw
1# parametrize docker image and tag 2# ------------------------------------------------------------------------------ 3ARG POSTGRES_IMAGE=docker.io/postgres 4ARG POSTGRES_VERSION=16 5 6FROM ${POSTGRES_IMAGE}:${POSTGRES_VERSION} 7 8# copy maintenance scripts 9# ------------------------------------------------------------------------------ 10 11COPY ./maintenance /usr/local/bin/maintenance 12RUN chmod +x /usr/local/bin/maintenance/* 13RUN mv /usr/local/bin/maintenance/* /usr/local/bin \ 14 && rmdir /usr/local/bin/maintenance