mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Dockerfile: Bump etcd version, include boto as a dependency
This commit is contained in:
+2
-2
@@ -10,7 +10,7 @@ RUN apt-get update -y
|
|||||||
RUN apt-get upgrade -y
|
RUN apt-get upgrade -y
|
||||||
|
|
||||||
ENV PGVERSION 9.4
|
ENV PGVERSION 9.4
|
||||||
RUN apt-get install python python-psycopg2 python-yaml python-requests postgresql-${PGVERSION} -y
|
RUN apt-get install python python-psycopg2 python-yaml python-requests python-boto postgresql-${PGVERSION} -y
|
||||||
|
|
||||||
ENV PATH /usr/lib/postgresql/${PGVERSION}/bin:$PATH
|
ENV PATH /usr/lib/postgresql/${PGVERSION}/bin:$PATH
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ ADD governor.py /governor/governor.py
|
|||||||
ADD helpers /governor/helpers
|
ADD helpers /governor/helpers
|
||||||
ADD postgres0.yml /governor/
|
ADD postgres0.yml /governor/
|
||||||
|
|
||||||
ENV ETCDVERSION 2.0.10
|
ENV ETCDVERSION 2.0.11
|
||||||
RUN curl -L https://github.com/coreos/etcd/releases/download/v${ETCDVERSION}/etcd-v${ETCDVERSION}-linux-amd64.tar.gz | tar xz -C /bin --strip=1 --wildcards --no-anchored etcd etcdctl
|
RUN curl -L https://github.com/coreos/etcd/releases/download/v${ETCDVERSION}/etcd-v${ETCDVERSION}-linux-amd64.tar.gz | tar xz -C /bin --strip=1 --wildcards --no-anchored etcd etcdctl
|
||||||
|
|
||||||
## Setting up a simple script that will serve as an entrypoint
|
## Setting up a simple script that will serve as an entrypoint
|
||||||
|
|||||||
Reference in New Issue
Block a user