dockerfiles/consul/Dockerfile

15 lines
458 B
Docker
Raw Normal View History

2015-01-27 12:05:21 +01:00
FROM progrium/busybox
MAINTAINER Jessica Frazelle <jess@docker.com>
ADD https://jesss.s3.amazonaws.com/consul/0.4.1/consul /usr/local/bin/consul
2015-01-27 12:51:46 +01:00
ADD https://jesss.s3.amazonaws.com/backups/bin/curl-unix-socket /usr/local/bin/curl-unix-socket
2015-01-27 12:05:21 +01:00
COPY ./dist/ /usr/src/consul
2015-01-27 12:23:48 +01:00
RUN opkg-install curl \
&& mkdir -p /etc/consul.d/ \
2015-01-27 12:51:46 +01:00
&& chmod +x /usr/local/bin/consul \
&& chmod +x /usr/local/bin/curl-unix-socket
2015-01-27 12:05:21 +01:00
ENTRYPOINT [ "/usr/local/bin/consul" ]