Skip to content

Commit

Permalink
Upgrade base image from xenial to bionic (ffmpeg upgrade to 4.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
omartrigui committed Jun 24, 2020
1 parent 71eaad6 commit cb2b6a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:xenial
FROM ubuntu:bionic

LABEL maintainer="[email protected]"

Expand All @@ -18,9 +18,10 @@ RUN apt-get update && \
apt-get --no-install-recommends install -yqq \
wget \
software-properties-common \
curl
curl \
gpg-agent

RUN add-apt-repository ppa:mc3man/xerus-media && \
RUN add-apt-repository ppa:mc3man/bionic-prop && \
curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
Expand All @@ -42,7 +43,7 @@ RUN npm install && \

COPY . .

RUN apt-get purge curl -y && \
RUN apt-get purge curl gpg-agent -y && \
apt-get clean -y && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function getStartRecordingCommand () {
`-s ${process.env.OUTPUT_VIDEO_WIDTH}x${process.env.OUTPUT_VIDEO_HEIGHT} ` +
'-thread_queue_size 4096 ' +
'-i :1 ' +
'-f pulse ' +
'-f alsa ' +
'-i default ' +
'-c:v libx264 ' +
'-tune zerolatency ' +
Expand Down

0 comments on commit cb2b6a3

Please sign in to comment.