Joe Gregorio | f2dbd75 | 2018-05-15 16:25:54 -0400 | [diff] [blame] | 1 | Docker |
| 2 | ====== |
| 3 | |
| 4 | Docker files for building different Skia targets. |
Joe Gregorio | ca8b0bd | 2018-05-28 09:19:44 -0400 | [diff] [blame] | 5 | |
Kevin Lubick | fe6b489 | 2018-06-05 17:21:30 -0400 | [diff] [blame^] | 6 | skia-release |
Joe Gregorio | ca8b0bd | 2018-05-28 09:19:44 -0400 | [diff] [blame] | 7 | ------ |
| 8 | |
Kevin Lubick | fe6b489 | 2018-06-05 17:21:30 -0400 | [diff] [blame^] | 9 | This image is used to build Skia at TOT with SwiftShader. |
| 10 | |
Joe Gregorio | ca8b0bd | 2018-05-28 09:19:44 -0400 | [diff] [blame] | 11 | There is a continuous process that builds this docker image, but if you |
| 12 | need to manually push a verison, then run the following commands: |
| 13 | |
| 14 | docker build -t skia-release ./docker/skia-release/ |
| 15 | docker tag skia-release gcr.io/skia-public/skia-release:prod |
| 16 | docker push gcr.io/skia-public/skia-release:prod |
Kevin Lubick | fe6b489 | 2018-06-05 17:21:30 -0400 | [diff] [blame^] | 17 | |
| 18 | |
| 19 | skia-with-swift-shader-base |
| 20 | ------ |
| 21 | |
| 22 | This image is used to build a local checkout of Skia with SwiftShader and run the built |
| 23 | executables without requiring the SwiftShader be installed on the host. |
| 24 | |
| 25 | For example (see build-with-swift-shader-and-run for more info), to reproduce a |
| 26 | fuzzer bug in SwiftShader: |
| 27 | |
| 28 | # First, copy the test case into $SKIA_ROOT, say $SKIA_ROOT/skbug_1234 |
| 29 | build-with-swift-shader-and-run "out/with-swift-shader/fuzz -t filter_fuzz -b /skia/skbug_1234" |
| 30 | |
| 31 | There is a continuous process that builds this docker image (which only really changes |
| 32 | if SwiftShader is updated), but if you need to manually push a version, then run the |
| 33 | following commands: |
| 34 | |
| 35 | docker build -t skia-with-swift-shader-base ./docker/skia-with-swift-shader-base/ |
| 36 | docker tag skia-with-swift-shader-base gcr.io/skia-public/skia-with-swift-shader-base:prod |
| 37 | docker push gcr.io/skia-public/skia-with-swift-shader-base:prod |