pg 12 and sutty's repository
This commit is contained in:
parent
69f4c7d357
commit
ab59099d5c
1 changed files with 4 additions and 10 deletions
14
Dockerfile
14
Dockerfile
|
@ -1,22 +1,16 @@
|
|||
FROM sutty/daemonize:latest AS build
|
||||
FROM sutty/monit:latest
|
||||
MAINTAINER "f <f@sutty.nl>"
|
||||
|
||||
RUN echo /home/builder/packages/home > /etc/apk/repositories
|
||||
RUN apk add --no-cache daemonize
|
||||
|
||||
FROM sutty/monit:latest
|
||||
|
||||
ENV PGBASE /var/lib/postgresql
|
||||
ENV PGDATA $PGBASE/11/data
|
||||
ENV PGDATA $PGBASE/12/data
|
||||
ENV LANG en_US.utf8
|
||||
ENV PGUSER sutty
|
||||
ENV PGDB sutty
|
||||
ENV PGVER 11
|
||||
ENV PGVER 12
|
||||
ENV PGCLIENT sutty
|
||||
|
||||
RUN apk add --no-cache postgresql postgresql-contrib
|
||||
RUN apk add --no-cache postgresql postgresql-contrib daemonize
|
||||
|
||||
COPY --from=build /usr/sbin/daemonize /usr/sbin/daemonize
|
||||
COPY ./postgresql.sh /usr/local/bin/postgresql
|
||||
COPY ./monit.conf /etc/monit.d/postgresql.conf
|
||||
|
||||
|
|
Loading…
Reference in a new issue