File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:bionic-20191029
1+ FROM ubuntu:focal-20201106
22LABEL authors=
"Selenium <[email protected] >" 33
44# ================================================
55# Customize sources for apt-get
66# ================================================
7- RUN echo "deb http://archive.ubuntu.com/ubuntu bionic main universe\n " > /etc/apt/sources.list \
8- && echo "deb http://archive.ubuntu.com/ubuntu bionic -updates main universe\n " >> /etc/apt/sources.list \
9- && echo "deb http://security.ubuntu.com/ubuntu bionic -security main universe\n " >> /etc/apt/sources.list
7+ RUN echo "deb http://archive.ubuntu.com/ubuntu focal main universe\n " > /etc/apt/sources.list \
8+ && echo "deb http://archive.ubuntu.com/ubuntu focal -updates main universe\n " >> /etc/apt/sources.list \
9+ && echo "deb http://security.ubuntu.com/ubuntu focal -security main universe\n " >> /etc/apt/sources.list
1010
1111# No interactive frontend during docker build
1212ENV DEBIAN_FRONTEND=noninteractive \
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ USER root
1313# latest (equivalent to opera-stable)
1414# opera-beta (pull latest beta)
1515#============================================
16+ # to avoid installing chromium-ffmpeg with snap (https://snapcraft.io/chromium-ffmpeg)
17+ COPY --from=builder-codecs-ffmpeg /usr/lib/chromium-browser/libffmpeg.so /usr/lib/chromium-browser/libffmpeg.so
18+
1619ARG OPERA_VERSION="opera-stable"
1720RUN wget -q -O - https://deb.opera.com/archive.key | apt-key add - \
1821 && echo "deb https://deb.opera.com/opera-stable/ stable non-free" >> /etc/apt/sources.list.d/opera-stable.list \
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ echo "# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" > ./Dockerfile
77echo " # NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED." >> ./Dockerfile
88echo " # PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE" >> ./Dockerfile
99echo " # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >> ./Dockerfile
10+ echo " FROM ubuntu:bionic AS builder-codecs-ffmpeg" >> ./Dockerfile
11+ echo " RUN apt-get update -qqy && apt-get -qqy install chromium-codecs-ffmpeg-extra" >> ./Dockerfile
12+ echo " " >> ./Dockerfile
1013echo FROM ${NAMESPACE} /node-base:${VERSION} >> ./Dockerfile
1114echo LABEL authors=" $AUTHORS " >> ./Dockerfile
1215echo " " >> ./Dockerfile
You can’t perform that action at this time.
0 commit comments