diff --git a/build/docker/Dockerfile b/build/docker/Dockerfile index cb9c5d42a5..05fdcd7f04 100644 --- a/build/docker/Dockerfile +++ b/build/docker/Dockerfile @@ -2,14 +2,17 @@ # 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.14 +FROM alpine:3.18 # Install dependencies RUN apk add --update --no-cache \ - bash git nodejs npm openjdk11-jre-headless python3 + bash chromium chromium-chromedriver git nodejs npm openjdk11-jre-headless python3 WORKDIR /usr/src ENV HOME /tmp +ENV CHROMEDRIVER_PATH /usr/bin/chromedriver CMD ["python3", "build/all.py"]