Last active
June 30, 2021 12:07
-
-
Save wader/d21fc578b2cb238de686663a368108a0 to your computer and use it in GitHub Desktop.
dev build shaka-packager with docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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