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
2
2
LABEL authors=
"Selenium <[email protected] >"
3
3
4
4
# ================================================
5
5
# Customize sources for apt-get
6
6
# ================================================
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
10
10
11
11
# No interactive frontend during docker build
12
12
ENV DEBIAN_FRONTEND=noninteractive \
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ USER root
13
13
# latest (equivalent to opera-stable)
14
14
# opera-beta (pull latest beta)
15
15
#============================================
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
+
16
19
ARG OPERA_VERSION="opera-stable"
17
20
RUN wget -q -O - https://deb.opera.com/archive.key | apt-key add - \
18
21
&& 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
7
7
echo " # NOTE: DO *NOT* EDIT THIS FILE. IT IS GENERATED." >> ./Dockerfile
8
8
echo " # PLEASE UPDATE Dockerfile.txt INSTEAD OF THIS FILE" >> ./Dockerfile
9
9
echo " # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >> ./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
10
13
echo FROM ${NAMESPACE} /node-base:${VERSION} >> ./Dockerfile
11
14
echo LABEL authors=" $AUTHORS " >> ./Dockerfile
12
15
echo " " >> ./Dockerfile
You can’t perform that action at this time.
0 commit comments