curl unix socket

This commit is contained in:
Jessica Frazelle 2015-01-27 03:51:46 -08:00
parent e9ce621014
commit f3224cf7df

View File

@ -2,11 +2,13 @@ FROM progrium/busybox
MAINTAINER Jessica Frazelle <jess@docker.com>
ADD https://jesss.s3.amazonaws.com/consul/0.4.1/consul /usr/local/bin/consul
ADD https://jesss.s3.amazonaws.com/backups/bin/curl-unix-socket /usr/local/bin/curl-unix-socket
COPY ./dist/ /usr/src/consul
RUN opkg-install curl \
&& mkdir -p /etc/consul.d/ \
&& chmod +x /usr/local/bin/consul
&& chmod +x /usr/local/bin/consul \
&& chmod +x /usr/local/bin/curl-unix-socket
ENTRYPOINT [ "/usr/local/bin/consul" ]