2018-06-05 21:21:30 +00:00
|
|
|
# Dockerfile for building Skia in release mode, using 3rd party libs from DEPS, with SwiftShader.
|
|
|
|
FROM launcher.gcr.io/google/clang-debian9 AS build
|
|
|
|
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
|
|
|
|
git \
|
|
|
|
python \
|
|
|
|
curl \
|
|
|
|
build-essential \
|
|
|
|
libfontconfig-dev \
|
|
|
|
libgl1-mesa-dev \
|
|
|
|
libglu1-mesa-dev
|
|
|
|
|
2020-07-20 13:36:09 +00:00
|
|
|
ADD https://storage.googleapis.com/skia-swiftshader/libGLESv2.so /usr/local/lib/libGLESv2.so
|
|
|
|
ADD https://storage.googleapis.com/skia-swiftshader/OpenGL_ES/Latest/Linux/libEGL.so /usr/local/lib/libEGL.so
|
2018-06-05 21:21:30 +00:00
|
|
|
RUN cd /tmp \
|
|
|
|
&& git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git' \
|
|
|
|
&& git clone https://swiftshader.googlesource.com/SwiftShader swiftshader
|
|
|
|
|
|
|
|
RUN mkdir -m 0777 /skia
|