22 lines
659 B
Docker
22 lines
659 B
Docker
# Docker image for the docker plugin
|
|
#
|
|
# 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/*
|
|
|
|
ADD drone-docker /go/bin/
|
|
ADD wrapdocker /bin/
|
|
|
|
VOLUME /var/lib/docker
|
|
ENTRYPOINT ["/go/bin/drone-docker"]
|