File: Dockerfile

package info (click to toggle)
pg-auto-failover 2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,368 kB
  • sloc: ansic: 58,369; python: 5,515; sql: 3,177; makefile: 629; sh: 35
file content (11 lines) | stat: -rw-r--r-- 412 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
ARG PGVERSION=14

FROM pg_auto_failover_test:pg${PGVERSION} as test

USER root
RUN mkdir -p /extra_volumes/extended_a && chown -R docker /extra_volumes/extended_a
RUN mkdir -p /extra_volumes/extended_b && chown -R docker /extra_volumes/extended_b
RUN mkdir -p /extra_volumes/extended_c && chown -R docker /extra_volumes/extended_c
RUN mkdir -p /var/lib/postgres && chown -R docker /var/lib/postgres

USER docker