mirror of
https://github.com/shaka-project/shaka-packager.git
synced 2024-10-22 07:44:56 +00:00
7cbc2720dc
Change-Id: Icc5a31b516e7f5a3baa2713a753c1738ce6c1166
24 lines
680 B
Docker
24 lines
680 B
Docker
FROM ubuntu:14.04
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
# update, and install basic packages
|
|
RUN apt-get update
|
|
RUN apt-get install -y \
|
|
build-essential \
|
|
curl \
|
|
git \
|
|
python
|
|
|
|
# install depot_tools http://www.chromium.org/developers/how-tos/install-depot-tools
|
|
RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
|
ENV PATH /depot_tools:$PATH
|
|
|
|
# install shaka-packager
|
|
RUN mkdir shaka_packager
|
|
WORKDIR shaka_packager
|
|
RUN gclient config https://www.github.com/google/shaka-packager.git --name=src
|
|
RUN gclient sync --no-history
|
|
RUN cd src && ninja -C out/Release
|
|
ENV PATH /shaka_packager/src/out/Release:$PATH
|