RUN apt-get install postgresql-${PGVERSION}postgresql-${PGVERSION}-dbgpostgresql-server-dev-${PGVERSION}postgresql-client-${PGVERSION}postgresql-contrib-${PGVERSION}postgresql-${PGVERSION}-plproxypostgresql-${PGVERSION}-pgq3 postgresql-${PGVERSION}-postgis postgresql-plpython3-${PGVERSION} postgresql-plpython-${PGVERSION}postgresql-${PGVERSION}-plr-y\
RUN apt-get install${PGTYPE}-${PGVERSION}${PGTYPE}-${PGVERSION}-bdr-plugin${PGTYPE}-${PGVERSION}-dbg${PGTYPE}-server-dev-${PGVERSION}${PGTYPE}-client-${PGVERSION}${PGTYPE}-contrib-${PGVERSION}${PGCOMPATIBLETYPE}-${PGVERSION}-plproxy${PGCOMPATIBLETYPE}-${PGVERSION}-plr${PGCOMPATIBLETYPE}-${PGVERSION}-pgq3${PGCOMPATIBLETYPE}-${PGVERSION}-postgis-y\
## # install all build-dependencies for postgresql-9.4 in order to be able to compile 9.4
&& apt-get clean \
## # Remove the default cluster, which Debian stupidly starts right after installation of the packages
...
...
@@ -60,9 +65,12 @@ RUN curl -L https://github.com/coreos/etcd/releases/download/v${ETCDVERSION}/etc
RUN cp /etc/ssl/private/ssl-cert-snakeoil.key $PGHOME/dummy.key &&cp /etc/ssl/certs/ssl-cert-snakeoil.pem $PGHOME/dummy.crt
# Install Patroni
ENV PATRONIVERSION 0.75
ENV PATRONIVERSION feature/bdr
WORKDIR $PGHOME
RUN pip install patroni==$PATRONIVERSION
RUN git clone https://github.com/zalando/patroni -b${PATRONIVERSION}
RUN ln-s$PGHOME/patroni/patronictl.py /usr/local/bin/patronictl \