1# Dockerfile for building Skia in release mode, using CMake. 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 libxi-dev \ 12 && groupadd -g 2000 skia \ 13 && useradd -u 2000 -g 2000 skia 14 15RUN curl -s "https://cmake.org/files/v3.13/cmake-3.13.1-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local 16 17RUN cd /opt \ 18 && git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git' 19 20ENV PATH="/opt/depot_tools:${PATH}" 21