xref: /third_party/skia/docker/skia-with-swift-shader-base/Dockerfile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/skia/docker/skia-with-swift-shader-base/
1cb93a386Sopenharmony_ci# Dockerfile for building Skia in release mode, using 3rd party libs from DEPS, with SwiftShader.
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
12cb93a386Sopenharmony_ciADD https://storage.googleapis.com/skia-swiftshader/libGLESv2.so /usr/local/lib/libGLESv2.so
13cb93a386Sopenharmony_ciADD https://storage.googleapis.com/skia-swiftshader/libEGL.so /usr/local/lib/libEGL.so
14cb93a386Sopenharmony_ciRUN cd /tmp \
15cb93a386Sopenharmony_ci  && git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git' \
16cb93a386Sopenharmony_ci  && git clone https://swiftshader.googlesource.com/SwiftShader swiftshader
17cb93a386Sopenharmony_ci
18cb93a386Sopenharmony_ciRUN mkdir -m 0777 /skia

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