2014-10-03 10:44:49 +00:00
|
|
|
FROM jenkins
|
|
|
|
USER root
|
2014-10-06 19:50:25 +00:00
|
|
|
|
2015-01-01 22:04:03 +00:00
|
|
|
RUN bash -c "if ! [ -e /usr/lib/apt/methods/https ]; then apt-get update && apt-get install -y apt-transport-https; fi"
|
2014-10-06 19:50:25 +00:00
|
|
|
|
|
|
|
RUN \
|
|
|
|
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 && \
|
|
|
|
sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" && \
|
|
|
|
apt-get update && apt-get install -y lxc-docker && \
|
|
|
|
rm /etc/apt/sources.list.d/docker.list
|
|
|
|
|
2014-10-03 10:44:49 +00:00
|
|
|
USER jenkins
|