Skip to content

Instantly share code, notes, and snippets.

@wader
Last active June 30, 2021 12:07
Show Gist options
  • Save wader/d21fc578b2cb238de686663a368108a0 to your computer and use it in GitHub Desktop.
Save wader/d21fc578b2cb238de686663a368108a0 to your computer and use it in GitHub Desktop.
dev build shaka-packager with docker
FROM debian:9.5
# 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
# note will clone shaka-packager into src dicrectory below
docker build -t shaka-dev -f - < Dockerfile
docker run -ti --rm -v "$PWD:$PWD" -w "$PWD" shaka-dev
export DEPOT_TOOLS_UPDATE=0
gclient config https://github.com/google/shaka-packager.git --name=src
gclient sync --no-history
ninja -C src/out/Release
ninja -C src/out/Debug packager
./src/out/Debug/packager -v=9999 ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment