first attempt at rancher/docker

This commit is contained in:
Brad Rydzewski
2015-09-04 00:28:10 -07:00
parent 678550e68f
commit d29a26fa53
2 changed files with 13 additions and 22 deletions

View File

@@ -2,20 +2,8 @@
#
# docker build --rm=true -t plugins/drone-docker .
FROM ubuntu:14.04
RUN apt-get update -qq \
&& apt-get -y install curl \
apt-transport-https \
ca-certificates \
curl \
lxc \
iptables \
&& curl -sSL https://get.docker.com/ubuntu/ | sh \
&& rm -rf /var/lib/apt/lists/*
FROM rancher/docker
ADD drone-docker /go/bin/
ADD wrapdocker /bin/
VOLUME /var/lib/docker
ENTRYPOINT ["/go/bin/drone-docker"]