2018-08-15 00:21:29 +00:00
|
|
|
FROM pritunl/archlinux:2018-08-11
|
2017-12-07 22:41:14 +00:00
|
|
|
|
|
|
|
# Update, and install basic packages.
|
2018-08-15 00:21:29 +00:00
|
|
|
RUN pacman -S --needed --noconfirm python2 git curl gcc gcc-libs make
|
2017-12-07 22:41:14 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2018-08-15 00:21:29 +00:00
|
|
|
# Clang needs libtinfo.so.5 which is not available on ArchLinux.
|
|
|
|
ENV GYP_DEFINES='clang=0'
|
|
|
|
|
2017-12-07 22:41:14 +00:00
|
|
|
# Build and run this docker by mapping shaka-packager with
|
|
|
|
# -v "shaka-packager:/shaka-packager".
|