blob: 41c2a39346918650dbb8007909138d923ae0d2d6 [file] [log] [blame] [view]
Joe Gregoriof2dbd752018-05-15 16:25:54 -04001Docker
2======
3
4Docker files for building different Skia targets.
Joe Gregorioca8b0bd2018-05-28 09:19:44 -04005
Kevin Lubickfe6b4892018-06-05 17:21:30 -04006skia-release
Joe Gregorioca8b0bd2018-05-28 09:19:44 -04007------
8
Kevin Lubickfe6b4892018-06-05 17:21:30 -04009This image is used to build Skia at TOT with SwiftShader.
10
Joe Gregorioca8b0bd2018-05-28 09:19:44 -040011There is a continuous process that builds this docker image, but if you
12need 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 Lubickfe6b4892018-06-05 17:21:30 -040017
18
19skia-with-swift-shader-base
20------
21
22This image is used to build a local checkout of Skia with SwiftShader and run the built
23executables without requiring the SwiftShader be installed on the host.
24
25For example (see build-with-swift-shader-and-run for more info), to reproduce a
26fuzzer 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
31There is a continuous process that builds this docker image (which only really changes
32if SwiftShader is updated), but if you need to manually push a version, then run the
33following 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