mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-25 17:45:03 +03:00
ddda658d39
- 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.
19 lines
629 B
Docker
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"]
|