23 lines
726 B
Plaintext
23 lines
726 B
Plaintext
FROM archlinux:latest
|
|
|
|
# Install utilities, libraries, and dev tools.
|
|
RUN pacman -Sy --needed --noconfirm \
|
|
core/which \
|
|
c-ares \
|
|
gcc git python2 python3
|
|
|
|
# Default to python2 because our build system is ancient.
|
|
RUN ln -sf python2 /usr/bin/python
|
|
|
|
# Install depot_tools.
|
|
WORKDIR /
|
|
RUN git clone -b chrome/4147 https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
|
RUN touch depot_tools/.disable_auto_update
|
|
ENV PATH /depot_tools:$PATH
|
|
|
|
# Bypass VPYTHON included by depot_tools. Prefer the system installation.
|
|
ENV VPYTHON_BYPASS="manually managed python not supported by chrome operations"
|
|
|
|
# Build and run this docker by mapping shaka-packager with
|
|
# -v "shaka-packager:/shaka-packager".
|