xref: /third_party/skia/docker/skia-build-tools/Dockerfile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/skia/docker/skia-build-tools/
1cb93a386Sopenharmony_ci# Dockerfile for building an image with all the tools needed to checkout and build Skia.
2cb93a386Sopenharmony_ciFROM launcher.gcr.io/google/clang-debian9 AS build
3cb93a386Sopenharmony_ciRUN apt-get update && apt-get upgrade -y && apt-get install -y \
4cb93a386Sopenharmony_ci  git \
5cb93a386Sopenharmony_ci  python \
6cb93a386Sopenharmony_ci  curl \
7cb93a386Sopenharmony_ci  build-essential \
8cb93a386Sopenharmony_ci  libfontconfig-dev \
9cb93a386Sopenharmony_ci  libgl1-mesa-dev \
10cb93a386Sopenharmony_ci  libglu1-mesa-dev \
11cb93a386Sopenharmony_ci  && groupadd -g 2000 skia \
12cb93a386Sopenharmony_ci  && useradd -u 2000 -g 2000 skia
13cb93a386Sopenharmony_ci
14cb93a386Sopenharmony_ci# TODO(kjlubick): Try a shallow clone of depot_tools
15cb93a386Sopenharmony_ciRUN cd /tmp \
16cb93a386Sopenharmony_ci  && git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git'
17cb93a386Sopenharmony_ci
18cb93a386Sopenharmony_ciENV PATH=${PATH}:/tmp/depot_tools
19cb93a386Sopenharmony_ci
20cb93a386Sopenharmony_ciADD --chown=skia:skia https://storage.googleapis.com/skia-swiftshader/libGLESv2.so /usr/local/lib/libGLESv2.so
21cb93a386Sopenharmony_ciADD --chown=skia:skia  https://storage.googleapis.com/skia-swiftshader/libEGL.so /usr/local/lib/libEGL.so

Indexes created Thu Nov 07 10:32:03 CST 2024