Kevin Lubick | 3105238 | 2019-01-31 12:47:20 -0500 | [diff] [blame] | 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 \ |
Kevin Lubick | 9a2bb09 | 2019-02-01 13:32:44 -0500 | [diff] [blame] | 11 | libxi-dev \ |
Kevin Lubick | 3105238 | 2019-01-31 12:47:20 -0500 | [diff] [blame] | 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}" |