forked from mozilla-b2g/gaia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request mozilla-b2g#31550 from nullaus/gaia-taskenv
Bug 1198172 - Standardize docker image bases between gecko and gaia e…
- Loading branch information
Showing
19 changed files
with
33 additions
and
66 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
from lightsofapollo/ubuntu-node:latest | ||
maintainer James Lal <[email protected]> | ||
|
||
# start by installing all our ubuntu packages | ||
run sudo apt-get -y upgrade --fix-missing | ||
run sudo apt-get -y update --fix-missing | ||
run sudo apt-get -yq install git-core curl wget firefox build-essential xvfb \ | ||
python-pip man python-virtualenv libgtk-3-0 | ||
|
||
run useradd -d /home/tester -s /bin/bash -m tester; | ||
from taskcluster/tester:0.3.6 | ||
maintainer Aus Lacroix <[email protected]> | ||
|
||
# install our custom git plugin | ||
copy git/target/doc/git-ci-checkout-pr.1 /usr/local/man/man1/git-ci-checkout-pr.1 | ||
|
@@ -17,20 +9,9 @@ copy git/git-ci-checkout-pr /usr/local/bin/git-ci-checkout-pr | |
copy git/git-ci-checkout-ref /usr/local/bin/git-ci-checkout-ref | ||
copy git/git-ci-checkout-setup /usr/local/bin/git-ci-checkout-setup | ||
|
||
env HOME /home/tester | ||
env SHELL /bin/bash | ||
env USER tester | ||
env LOGNAME tester | ||
env PATH $PATH:/home/tester/bin | ||
workdir /home/tester | ||
|
||
run git config --global user.email "[email protected]" | ||
run git config --global user.name "gaia-taskenv" | ||
run npm install npm@latest -g | ||
run npm install [email protected] -g | ||
run npm install [email protected] -g | ||
|
||
# run some more root commands which change frequently | ||
copy ./bin/entrypoint /home/tester/bin/entrypoint | ||
copy ./bin/buildbot_step /home/tester/bin/buildbot_step | ||
run chmod a+x /home/tester/bin/entrypoint | ||
copy ./bin/entrypoint /home/worker/bin/entrypoint | ||
run chmod a+x /home/worker/bin/entrypoint |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.9.0 | ||
1.2.0 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#! /bin/bash -e | ||
|
||
./build | ||
docker run $@ -v $PWD/bin:/home/tester/bin -i -t $(cat DOCKER_TAG):$(cat VERSION) /bin/bash | ||
docker run $@ -v $PWD/bin:/home/worker/bin -i -t $(cat DOCKER_TAG):$(cat VERSION) /bin/bash |
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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