Created
September 28, 2017 01:39
-
-
Save ptagr/22f784fec2a317b52e2c764844626efa to your computer and use it in GitHub Desktop.
Drone Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM drone/drone:0.7.3 | |
ADD rootfs.tar.xz / | |
# install Docker on Debian 9 | |
# https://docs.docker.com/engine/installation/linux/docker-ce/debian/ | |
RUN apt-get update | |
RUN apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg2 \ | |
software-properties-common | |
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - | |
RUN apt-key fingerprint 0EBFCD88 | |
RUN add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/debian \ | |
$(lsb_release -cs) \ | |
stable" | |
RUN apt-get update | |
RUN apt-get install -y docker-ce | |
ENV DOCKER_API_VERSION=1.26 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment