3105238ed5
It uses a docker container to handle the installation of CMake. Depends on https://skia-review.googlesource.com/c/skia/+/188305/ Bug: skia:8732 Change-Id: Ib84a46b4f0ca7f88fca4e6123c1517a84f3444b2 Reviewed-on: https://skia-review.googlesource.com/c/188036 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Kevin Lubick <kjlubick@google.com>
20 lines
607 B
Docker
20 lines
607 B
Docker
# Dockerfile for building Skia in release mode, using CMake.
|
|
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 \
|
|
&& groupadd -g 2000 skia \
|
|
&& useradd -u 2000 -g 2000 skia
|
|
|
|
RUN 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
|
|
|
|
RUN cd /opt \
|
|
&& git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git'
|
|
|
|
ENV PATH="/opt/depot_tools:${PATH}"
|