mirror of https://github.com/OpenVidu/openvidu.git
openvidu-recording container removed Java and selenium-server
parent
0cff932bef
commit
204e05aed2
|
@ -7,9 +7,6 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key
|
||||||
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | tee /etc/apt/sources.list.d/google-chrome.list && \
|
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | tee /etc/apt/sources.list.d/google-chrome.list && \
|
||||||
apt-get update && apt-get install -y google-chrome-stable
|
apt-get update && apt-get install -y google-chrome-stable
|
||||||
|
|
||||||
# Download selenium-server
|
|
||||||
RUN wget --no-verbose https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar -O /selenium-server-standalone.jar
|
|
||||||
|
|
||||||
# Install media packages
|
# Install media packages
|
||||||
RUN apt-get install -y software-properties-common
|
RUN apt-get install -y software-properties-common
|
||||||
RUN add-apt-repository ppa:jonathonf/ffmpeg-4
|
RUN add-apt-repository ppa:jonathonf/ffmpeg-4
|
||||||
|
@ -19,9 +16,6 @@ RUN apt-get install -y ffmpeg pulseaudio xvfb
|
||||||
# Install jq for managing JSON
|
# Install jq for managing JSON
|
||||||
RUN apt-get install -y jq
|
RUN apt-get install -y jq
|
||||||
|
|
||||||
# Install Java 8
|
|
||||||
RUN apt-get install -y openjdk-8-jdk-headless
|
|
||||||
|
|
||||||
# Clean
|
# Clean
|
||||||
RUN apt-get autoclean
|
RUN apt-get autoclean
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
### Use container as a single headless chrome ###
|
### Use container as a single headless chrome ###
|
||||||
|
|
||||||
if [ "$HEADLESS_CHROME_ONLY" == true ]; then
|
if [ "$HEADLESS_CHROME_ONLY" == true ]; then
|
||||||
java -jar -Dwebdriver.chrome.driver="$CHROME_DRIVER_PATH" /selenium-server-standalone.jar &> /selenium-server.log &
|
google-chrome --no-sandbox --headless --remote-debugging-port=$HEADLESS_CHROME_PORT &> /chrome.log &
|
||||||
sleep 100000000
|
sleep 100000000
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue