Skip to content

Commit

Permalink
Merge pull request #152 from sukso96100/master
Browse files Browse the repository at this point in the history
Use Ubuntu 20.04 LTS on Docker image
  • Loading branch information
mtsonline authored Apr 27, 2022
2 parents 9d2852f + 1cc5aeb commit c4fee4b
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
ARG FFMPEG_VERSION=4.2.2

FROM ubuntu:bionic
ARG FFMPEG_VERSION
FROM ubuntu:focal
ARG DEBIAN_FRONTEND=noninteractive

WORKDIR /usr/src/app

RUN apt-get update && apt-get install -y software-properties-common && apt-get update && add-apt-repository ppa:jonathonf/ffmpeg-4

RUN ln -s -f /bin/true /usr/bin/chfn \
&& apt-get update && apt-get install -y \
python-is-python3 \
python3-pip \
python3-dev \
xvfb \
Expand All @@ -26,8 +23,7 @@ RUN ln -s -f /bin/true /usr/bin/chfn \
&& chown -R 1001:0 /home/lithium /run/user/lithium /var/run/pulse \
&& chmod -R g=u /home/lithium /run/user/lithium /var/run/pulse

RUN ln -s /usr/bin/python3 /usr/local/bin/python \
&& pip3 install --upgrade pip
RUN pip3 install --upgrade pip

COPY py_requirements.txt ./

Expand Down

0 comments on commit c4fee4b

Please sign in to comment.