16 lines
457 B
Plaintext
16 lines
457 B
Plaintext
FROM archlinux:20200908
|
|
|
|
# Update, and install basic packages.
|
|
RUN pacman -Sy --needed --noconfirm python2 git curl gcc gcc-libs make
|
|
|
|
# depot_tools uses python2 instead of python3.
|
|
RUN ln -sf python2 /usr/bin/python
|
|
|
|
# Install depot_tools.
|
|
WORKDIR /
|
|
RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
|
ENV PATH /depot_tools:$PATH
|
|
|
|
# Build and run this docker by mapping shaka-packager with
|
|
# -v "shaka-packager:/shaka-packager".
|