From 1de48d8040aa263d4f79c023f9c31445310432a9 Mon Sep 17 00:00:00 2001 From: Hal Canary Date: Fri, 26 Oct 2018 13:31:49 -0400 Subject: [PATCH] infra/skqp/docker/README.md: whitespace changes for readability No-Try: true Change-Id: I34410ebbb924bbcad12e776fc725401482158b77 Reviewed-on: https://skia-review.googlesource.com/c/165308 Auto-Submit: Hal Canary Reviewed-by: Kevin Lubick Commit-Queue: Kevin Lubick --- infra/skqp/docker/README.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/infra/skqp/docker/README.md b/infra/skqp/docker/README.md index 89ed582421c5b..eacbaae6785bf 100644 --- a/infra/skqp/docker/README.md +++ b/infra/skqp/docker/README.md @@ -21,14 +21,26 @@ installed libraries. For testing the image locally, the following flow can be helpful: docker build -t android-skqp ./android-skqp/ + # start an emulator - docker run --privileged -d --name android_em -e DEVICE="Samsung Galaxy S6" -v $SKIA_ROOT:/SRC -v $SKIA_ROOT/out/skqp:/OUT android-skqp + docker run --privileged -d --name android_em \ + -e DEVICE="Samsung Galaxy S6" \ + -v $SKIA_ROOT:/SRC \ + -v $SKIA_ROOT/out/skqp:/OUT \ + android-skqp + # attach to that emulator docker exec -it android_em /bin/bash + # Compile SKQP - docker run -it --rm -w /SRC/infra/skqp -v $SKIA_ROOT:/SRC android-skqp ./build_apk.sh - # Run SKQP (can't mount anything with -v here, must do it on original docker run) + docker run -it --rm -w /SRC/infra/skqp \ + -v $SKIA_ROOT:/SRC \ + android-skqp ./build_apk.sh + + # Run SKQP (can't mount anything with -v here, must do it on + # original docker run) docker exec -it android_em /SRC/infra/skqp/run_skqp.sh + # Cleanup docker kill android_em - docker rm android_em \ No newline at end of file + docker rm android_em