This commit is contained in:
Jessica Frazelle 2015-03-16 18:44:11 -07:00
parent de2a2dfa9e
commit cc50903679

View File

@ -1,4 +1,4 @@
FROM progrium/busybox
FROM debian:jessie
MAINTAINER Jessica Frazelle <jess@docker.com>
ADD https://jesss.s3.amazonaws.com/binaries/consul/0.4.1/consul /usr/local/bin/consul
@ -6,7 +6,10 @@ ADD https://jesss.s3.amazonaws.com/binaries/curl-unix-socket /usr/local/bin/curl
COPY ./dist/ /usr/src/consul
RUN opkg-install curl \
RUN apt-get update && apt-get install -y \
ca-certificates \
curl \
--no-install-recommends \
&& mkdir -p /etc/consul.d/ \
&& chmod +x /usr/local/bin/consul \
&& chmod +x /usr/local/bin/curl-unix-socket