2016-07-07 19:01:55 +00:00
|
|
|
FROM ubuntu:14.04
|
2015-07-23 01:49:26 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2016-05-17 00:41:02 +00:00
|
|
|
# install shaka-packager
|
|
|
|
RUN mkdir shaka_packager
|
|
|
|
WORKDIR shaka_packager
|
|
|
|
RUN gclient config https://www.github.com/google/shaka-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
|
2016-05-17 00:41:02 +00:00
|
|
|
ENV PATH /shaka_packager/src/out/Release:$PATH
|