Bake docker-ce into the base image

Speeds up CI runs by quite a bit
This commit is contained in:
yuvipanda
2018-07-11 10:02:07 -07:00
parent 20f3116e58
commit 4d9d9c2d99
4 changed files with 54 additions and 24 deletions

View File

@@ -0,0 +1,22 @@
FROM continuumio/miniconda3:4.5.4
RUN apt-get update --yes
RUN apt-get install --yes --no-install-recommends \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
RUN add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
RUN apt-get update --yes
RUN apt-get install --yes docker-ce