2015-07-23 01:49:26 +00:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
|
2016-03-01 23:11:04 +00:00
|
|
|
# update, and install basic packages
|
|
|
|
RUN apt-get update
|
2015-07-23 01:49:26 +00:00
|
|
|
RUN apt-get install -y \
|
|
|
|
build-essential \
|
|
|
|
wget \
|
|
|
|
git \
|
2016-03-01 23:11:04 +00:00
|
|
|
python
|
2015-07-23 01:49:26 +00:00
|
|
|
|
|
|
|
# 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 edash-packager
|
|
|
|
RUN mkdir edash_packager
|
|
|
|
WORKDIR edash_packager
|
|
|
|
RUN gclient config https://www.github.com/google/edash-packager.git --name=src
|
2016-03-01 23:11:04 +00:00
|
|
|
RUN gclient sync --no-history
|
2015-07-23 01:49:26 +00:00
|
|
|
RUN cd src && ninja -C out/Release
|
|
|
|
ENV PATH /edash_packager/src/out/Release:$PATH
|