Created
November 26, 2016 05:55
-
-
Save zifnab06/af1fd9f6d5e374af66bd105f50b38278 to your computer and use it in GitHub Desktop.
This file contains 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 ubuntu:16.04 | |
MAINTAINER Tom Powell <zifnab@zifnab06.net> | |
RUN apt-get update && \ | |
apt-get install apt-transport-https ca-certificates && \ | |
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
RUN apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D && | |
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" > /etc/apt/sources.list.d/docker.list && \ | |
apt-get update && \ | |
apt-get install docker-engine && \ | |
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
WORKDIR "/" | |
RUN curl URL_HERE | |
CMD ['docker', 'build', '.'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment