diff --git a/README.md b/README.md index 45aca82d7..8e477bf5e 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,80 @@ notify: - burke@drone.io ``` +### Images + +In the above example we used a custom Docker image from index.docker.io **mischief/docker-golang** + +Drone also provides official build images. These images are configured specifically for CI and +have many common software packages pre-installed (git, xvfb, firefox, libsqlite, etc). + +Official Drone images are referenced in the **.drone.yml** by an alias: + +```sh +image: go1.2 # same as bradrydzewski/go:1.2 +``` + +Here is a list of our official images: + +```sh +# these are the base images for all Drone containers. +# these are BIG (~3GB) so make sure you have a FAST internet connection +docker pull bradrydzewski/ubuntu +docker pull bradrydzewski/base + +# clojure images +docker pull bradrydzewski/lein # image: lein + +# dart images +docker pull bradrydzewski/dart:stable # image: dart + +# erlang images +docker pull bradrydzewski/erlang:R16B # image: erlangR16B +docker pull bradrydzewski/erlang:R16B02 # image: erlangR16B02 +docker pull bradrydzewski/erlang:R16B01 # image: erlangR16B01 + +# gcc images (c/c++) +docker pull bradrydzewski/gcc:4.6 # image: gcc4.6 +docker pull bradrydzewski/gcc:4.8 # image: gcc4.8 + +# go images +docker pull bradrydzewski/go:1.0 # image: go1 +docker pull bradrydzewski/go:1.1 # image: go1.1 +docker pull bradrydzewski/go:1.2 # image: go1.2 + +# haskell images +docker pull bradrydzewski/haskell:7.4 # image: haskell + +# java and jdk images +docker pull bradrydzewski/java:openjdk6 # image: openjdk6 +docker pull bradrydzewski/java:openjdk7 # image: openjdk7 +docker pull bradrydzewski/java:oraclejdk7 # image: oraclejdk7 +docker pull bradrydzewski/java:oraclejdk8 # image: oraclejdk8 + +# node images +docker pull bradrydzewski/node:0.10 # image node0.10 +docker pull bradrydzewski/node:0.8 # image node0.8 + +# php images +docker pull bradrydzewski/php:5.5 # image: php5.5 +docker pull bradrydzewski/php:5.4 # image: php5.4 + +# python images +docker pull bradrydzewski/python:2.7 # image: python2.7 +docker pull bradrydzewski/python:3.2 # image: python3.2 +docker pull bradrydzewski/python:3.3 # image: python3.3 +docker pull bradrydzewski/python:pypy # image: pypy + +# ruby images +docker pull bradrydzewski/ruby:2.0.0 # image: ruby2.0.0 +docker pull bradrydzewski/ruby:1.9.3 # image: ruby1.9.3 + +# scala images +docker pull bradrydzewski/scala:2.10.3 # image: scala2.10.3 +docker pull bradrydzewski/scala:2.9.3 # image: scala2.9.3 + +``` + ### Environment Drone clones your repository into a Docker container @@ -53,8 +127,8 @@ at the following location: /var/cache/drone/src/github.com/$owner/$name ``` -Please take this into consideration when setting up your build image. For example, -you may need set the $GOAPTH or other environment variables appropriately. +Please take this into consideration when setting up your build commands, or +if you are using a custom Docker image. ### Databases