blob: d58e98757d0cc4e3cd8db32ded56609608d77438 [file] [log] [blame]
Kevin Lubick31052382019-01-31 12:47:20 -05001# 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 && groupadd -g 2000 skia \
12 && useradd -u 2000 -g 2000 skia
13
14RUN 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
15
16RUN cd /opt \
17 && git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git'
18
19ENV PATH="/opt/depot_tools:${PATH}"