This repository contains docker and docker-compose files to simulate the infrastructure required by gnuviechadmin components.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
494B

  1. FROM debian:buster
  2. LABEL maintainer "Jan Dittberner <jan@dittberner.info>"
  3. RUN apt-get update \
  4. && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
  5. dumb-init \
  6. postgresql \
  7. && apt-get clean \
  8. && rm -rf /var/lib/apt/lists/*.*
  9. EXPOSE 5432
  10. VOLUME /var/lib/postgresql/
  11. COPY pg_hba.conf /etc/postgresql/11/main/pg_hba.conf
  12. COPY startup.sh /srv/
  13. HEALTHCHECK CMD su postgres -c 'pg_isready -d postgres'
  14. ENTRYPOINT ["dumb-init"]
  15. CMD "/srv/startup.sh"