2015-05-15 05:12:50 +00:00
|
|
|
# Docker image for the docker plugin
|
|
|
|
#
|
|
|
|
# docker build --rm=true -t plugins/drone-docker .
|
|
|
|
|
|
|
|
FROM ubuntu:14.04
|
|
|
|
|
2015-09-04 01:17:51 +00:00
|
|
|
RUN apt-get update -qq \
|
2015-05-15 06:20:26 +00:00
|
|
|
&& apt-get -y install curl \
|
2015-09-04 01:17:51 +00:00
|
|
|
apt-transport-https \
|
|
|
|
ca-certificates \
|
|
|
|
curl \
|
|
|
|
lxc \
|
|
|
|
iptables \
|
2015-05-15 05:12:50 +00:00
|
|
|
&& curl -sSL https://get.docker.com/ubuntu/ | sh \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
ADD drone-docker /go/bin/
|
2015-05-15 06:20:26 +00:00
|
|
|
ADD wrapdocker /bin/
|
2015-05-15 05:12:50 +00:00
|
|
|
|
2015-05-15 07:09:56 +00:00
|
|
|
VOLUME /var/lib/docker
|
2015-05-15 05:12:50 +00:00
|
|
|
ENTRYPOINT ["/go/bin/drone-docker"]
|