Skip to content

Instantly share code, notes, and snippets.

@richardsonlima
Created January 25, 2016 21:48
Show Gist options
  • Save richardsonlima/88145d17041f00f02283 to your computer and use it in GitHub Desktop.
Save richardsonlima/88145d17041f00f02283 to your computer and use it in GitHub Desktop.
$ cat << EOF > Dockerfile
FROM scratch
MAINTAINER The CentOS Project <cloud-ops@centos.org> - ami_creator
ADD centos-7.1503-20150330_1749-docker.tar.xz /
CMD ["/bin/bash"]
EOF
$ wget https://github.com/CentOS/sig-cloud-instance-images/blob/bc561dfdd671d612dbb9f92e7e17dd8009befc44/docker/centos-7.1503-20150330_1749-docker.tar.xz
$ sudo docker build -t centos71_build01:Centos71-build01 .
$ sudo docker run -i -t 0766e111527f ps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment