19 lines
478 B
Plaintext
19 lines
478 B
Plaintext
FROM centos:8
|
|
|
|
# Install utilities, libraries, and dev tools.
|
|
RUN yum install -y \
|
|
which \
|
|
c-ares-devel libatomic \
|
|
gcc-c++ git python2 python3
|
|
|
|
# Default to python3.
|
|
RUN alternatives --set python /usr/bin/python3
|
|
|
|
# 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".
|