Skip to content

Commit

Permalink
Fix etcd arguments and add missing python modules
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberDem0n committed Jul 16, 2017
1 parent 6a43953 commit ad344b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Expand Up @@ -7,10 +7,10 @@ RUN export DEBIAN_FRONTEND=noninteractive \
&& echo 'APT::Install-Recommends "0";\nAPT::Install-Suggests "0";' > /etc/apt/apt.conf.d/01norecommend \
&& apt-get update -y \
&& apt-get upgrade -y \
&& apt-get install -y curl jq haproxy python-psycopg2 python-yaml python-requests python-six \
python-dateutil python-pip python-setuptools python-prettytable python-wheel python \
&& apt-get install -y curl jq haproxy python-psycopg2 python-yaml python-requests python-six python-pysocks \
python-dateutil python-pip python-setuptools python-prettytable python-wheel python-psutil python \

&& pip install python-etcd>=0.4.3 click tzlocal --upgrade \
&& pip install 'python-etcd>=0.4.3,<0.5' click tzlocal cdiff \

&& mkdir -p /home/postgres \
&& chown postgres:postgres /home/postgres \
Expand Down
2 changes: 1 addition & 1 deletion docker/entrypoint.sh
Expand Up @@ -22,7 +22,7 @@ __EOF__

DOCKER_IP=$(hostname --ip-address)
PATRONI_SCOPE=${PATRONI_SCOPE:-batman}
ETCD_ARGS="--data-dir /tmp/etcd.data -advertise-client-urls=http://${DOCKER_IP}:2379 -listen-client-urls=http://0.0.0.0:2379 -listen-peer-urls=http://0.0.0.0:2380"
ETCD_ARGS="--data-dir /tmp/etcd.data -advertise-client-urls=http://${DOCKER_IP}:2379 -listen-client-urls=http://0.0.0.0:2379"

optspec=":vh-:"
while getopts "$optspec" optchar; do
Expand Down

0 comments on commit ad344b3

Please sign in to comment.