Home | History | Annotate | Download | only in cmake-release
      1 # Dockerfile for building Skia in release mode, using CMake.
      2 FROM launcher.gcr.io/google/clang-debian9 AS build
      3 RUN 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 
     15 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
     16 
     17 RUN cd /opt \
     18  && git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git'
     19 
     20 ENV PATH="/opt/depot_tools:${PATH}"
     21