9a2bb09202
ANGLE's build requires a file copy. Nema's build requires a dir copy. CMake uses a different command for each. gn does not distinguish which. We make a guess that happens to work for these two use cases based on the whether the base file name of the src contains a '.' Change-Id: I3503fd9d632abda3f8f952d0eef964019d932bea Reviewed-on: https://skia-review.googlesource.com/c/188626 Commit-Queue: Kevin Lubick <kjlubick@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
21 lines
621 B
Docker
21 lines
621 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 \
|
|
libxi-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}"
|