gecko/testing/docker
2015-01-02 11:27:29 -02:00
..
base-build Bug 1103031 - switch over to using base-test and base-build images r=lightsofapollo 2014-11-26 10:11:40 -08:00
base-test Bug 1103031 - switch over to using base-test and base-build images r=lightsofapollo 2014-11-26 10:11:40 -08:00
builder Bug 1101166: Add custom mozharness repo and rev to taskcluster builds. r=lightsofapollo 2014-12-31 10:58:19 -02:00
decision Bug 1105439 - Part 9 Finalize decision task and simplify emulator caching logic r=wcosta, garndt 2014-12-04 22:33:01 -08:00
phone-builder Bug 1085636 part2: Add gaia language files build option. r=lightsofapollo 2015-01-02 11:27:29 -02:00
tester Bug 1104013 - Add reftest task for b2g emulator r=lightsofapollo 2014-11-26 10:11:40 -08:00
build.sh Bug 1085631 part2: Allow the use of a custom build script. r=lightsofapollo 2014-12-16 12:24:55 -02:00
README.md Bug 1105439 - Part 9 Finalize decision task and simplify emulator caching logic r=wcosta, garndt 2014-12-04 22:33:01 -08:00
REGISTRY

Docker Images for Gecko

This folder contains various docker images used in taskcluster as well as other misc docker images which may be useful for hacking on gecko.

Building images

Generally images can pull from the registry rather then build locally but for developing new images its often helpful to hack on them locally.

# Example: ./build.sh base
./build.sh <FOLDER>

This is a tiny wrapper around building the docker images via docker build -t $REGISTRY/$FOLDER:$FOLDER_VERSION

Adding a new image

The docker image primitives are very basic building block for constructing an "image" but generally don't help much with tagging it for deployment so we have a wrapper (./build.sh) which adds some sugar to help with tagging/versioning... Each folder should look something like this:

  • your_amazing_image/
    • your_amazing_image/Dockerfile: Standard docker file syntax
    • your_amazing_image/VERSION: The version of the docker file (required* used during tagging)
    • your_amazing_image/REGISTRY: Override default registry (useful for secret registries)

Conventions

In some image folders you will see .env files these can be used in conjunction with the --env-file flag in docker to provide a environment with the given environment variables. These are primarily for convenience when manually hacking on the images.