1# Dockerfile for building Skia in release mode, using 3rd party libs from DEPS, with SwiftShader. 2FROM launcher.gcr.io/google/clang-debian9 AS build 3RUN apt-get update && apt-get upgrade -y && apt-get install -y \ 4 git \ 5 python \ 6 curl \ 7 build-essential \ 8 libfontconfig-dev \ 9 libgl1-mesa-dev \ 10 libglu1-mesa-dev 11 12ADD https://storage.googleapis.com/swiftshader-binaries/OpenGL_ES/Latest/Linux/libGLESv2.so /usr/local/lib/libGLESv2.so 13ADD https://storage.googleapis.com/swiftshader-binaries/OpenGL_ES/Latest/Linux/libEGL.so /usr/local/lib/libEGL.so 14RUN cd /tmp \ 15 && git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git' \ 16 && git clone https://swiftshader.googlesource.com/SwiftShader swiftshader 17 18RUN mkdir -m 0777 /skia