2020-12-14 19:50:20 +00:00
|
|
|
FROM opensuse/leap:15
|
2017-12-07 22:41:14 +00:00
|
|
|
|
2021-10-13 18:00:37 +00:00
|
|
|
# Install utilities, libraries, and dev tools.
|
|
|
|
RUN zypper in -y \
|
|
|
|
curl which \
|
2021-10-12 21:55:13 +00:00
|
|
|
c-ares-devel \
|
2021-10-13 18:00:37 +00:00
|
|
|
gcc-c++ git python python3
|
2017-12-07 22:41:14 +00:00
|
|
|
|
2022-03-09 00:46:18 +00:00
|
|
|
# Default to python2 because our build system is ancient.
|
|
|
|
RUN ln -sf python2 /usr/bin/python
|
|
|
|
|
2017-12-07 22:41:14 +00:00
|
|
|
# Install depot_tools.
|
|
|
|
WORKDIR /
|
2022-03-09 00:46:18 +00:00
|
|
|
RUN git clone -b chrome/4147 https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
|
|
|
RUN touch depot_tools/.disable_auto_update
|
2017-12-07 22:41:14 +00:00
|
|
|
ENV PATH /depot_tools:$PATH
|
|
|
|
|
2022-03-09 00:46:18 +00:00
|
|
|
# Bypass VPYTHON included by depot_tools. Prefer the system installation.
|
|
|
|
ENV VPYTHON_BYPASS="manually managed python not supported by chrome operations"
|
|
|
|
|
2017-12-07 22:41:14 +00:00
|
|
|
# Build and run this docker by mapping shaka-packager with
|
|
|
|
# -v "shaka-packager:/shaka-packager".
|