Docker for Firebase Test Lab.
1.1K
This repository contains the Dockerfile of the dpal/docker-firebase-test-lab image. With this container you can easily automate your Firebase Test Lab tests.
Before running a docker image, you prepare the following:
credentials file, or create one (see below).### Pull image
docker pull dpal/docker-firebase-test-lab:latest
docker build -t dpal/docker-firebase-test-lab github.com/paldom/docker-firebase-test-lab
Here's an example how to run this docker container:
docker run -v $PWD:/firebase -e "PROJACC=YOUR_EMAIL" -e "PROJID=YOUR_PROJECT_ID" -e "DEVICE=Nexus5" -e "OS=22" --name firebase dpal/docker-firebase-test-lab
You can use the following environment variables:
### Credentials
Important! You should define a credentials file in order to run gcloud tool. If you don't have a credentials file, you can create one with the following steps.
1 - Run docker container on your host:
docker run --entrypoint bash -it dpal/docker-firebase-test-lab
2 - Type the following command and follow the steps:
gcloud auth login
3 - Your credentials file will be located at ~/.config/gcloud/credentials:
cat ~/.config/gcloud/credentials
4 - Copy conents of credentials and save on your host.
Content type
Image
Digest
Size
126.7 MB
Last updated
over 9 years ago
docker pull dpal/docker-firebase-test-lab