mirror of https://github.com/OpenVidu/openvidu.git
openvidu-recording container Dockerfile 20.04 updated
parent
b229a65ca2
commit
5124e32a1d
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash -x
|
||||
OPENVIDU_RECORDING_UBUNTU_VERSION=$1
|
||||
OPENVIDU_RECORDING_CHROME_VERSION=$2
|
||||
OPENVIDU_RECORDING_CHROME_VERSION=$2 # https://www.ubuntuupdates.org/package_logs?noppa=&page=1&type=ppas&vals=8#
|
||||
OPENVIDU_RECORDING_DOCKER_TAG=$3
|
||||
docker build --rm --build-arg CHROME_VERSION="$OPENVIDU_RECORDING_CHROME_VERSION" \
|
||||
-f $OPENVIDU_RECORDING_UBUNTU_VERSION.Dockerfile \
|
||||
|
|
|
@ -18,9 +18,10 @@ RUN apt-get update && apt-get -y upgrade && apt-get install -y \
|
|||
|
||||
# Install chrome
|
||||
RUN apt-get update && apt-get -y upgrade && apt-get install -y wget sudo
|
||||
RUN wget -q -O - http://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb \
|
||||
&& dpkg -i google-chrome-stable_${CHROME_VERSION}_amd64.deb \
|
||||
&& rm google-chrome-stable_${CHROME_VERSION}_amd64.deb
|
||||
RUN wget http://dl.google.com/linux/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb \
|
||||
&& apt install -y ./google-chrome-stable_${CHROME_VERSION}_amd64.deb \
|
||||
&& rm google-chrome-stable_${CHROME_VERSION}_amd64.deb \
|
||||
&& google-chrome --version
|
||||
|
||||
# Clean
|
||||
RUN apt-get clean && apt-get autoclean && apt-get autoremove
|
||||
|
|
Loading…
Reference in New Issue