Files
shaka-player/build/docker/Dockerfile
T
Joey Parrish ddda658d39 chore: Update to the latest Closure Compiler (#8925)
- Bump to Java 21 to support the new compiler.
 - Removes externs now included in the compiler.
 - Removes compiler flag no longer supported.
- Adds onkeystatuseschange to MediaKeySession polyfills (now in compiler
externs).
- This new compiler now triggers a warning in the Closure Library, which
will get fixed in a follow-up to update the library.
2025-07-29 10:36:40 -07:00

19 lines
629 B
Docker

# Build with:
# docker build -t shaka-player-build /path/to/shaka-player/build/docker
# Run with:
# docker run -v /path/to/shaka-player:/usr/src --user $(id -u):$(id -g) shaka-player-build
# Run tests with:
# docker run -v /path/to/shaka-player:/usr/src --user $(id -u):$(id -g) shaka-player-build python3 build/test.py --quick --browsers ChromeHeadless
FROM alpine:3.19
# Install dependencies
RUN apk add --update --no-cache \
bash chromium chromium-chromedriver git nodejs npm openjdk21-jre-headless python3
WORKDIR /usr/src
ENV HOME /tmp
ENV CHROMEDRIVER_PATH /usr/bin/chromedriver
CMD ["python3", "build/all.py"]