Skip to content

Commit

Permalink
rebase onto ubuntu 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
ericp1337 committed Dec 5, 2020
1 parent 6db4014 commit 46568be
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions video-transcoding/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:20.04

# set version label
# Build-time metadata as defined at http://label-schema.org
Expand All @@ -14,7 +14,8 @@ LABEL maintainer="computerfr33k"

# global environment settings
# https://github.com/donmelton/video_transcoding/releases
ENV GEM_VERSION=0.25.3 \
ENV DEBIAN_FRONTEND=noninteractive \
GEM_VERSION=0.25.3 \
# https://handbrake.fr/downloads.php
HANDBRAKE_VERSION=1.3.3 \
# https://ffmpeg.org/download.html#releases
Expand All @@ -27,6 +28,7 @@ RUN set -ex \
&& buildDeps=' \
autoconf \
automake \
autopoint \
build-essential \
cmake \
cmake-curses-gui \
Expand All @@ -41,6 +43,7 @@ RUN set -ex \
libjansson-dev \
liblzma-dev \
libmp3lame-dev \
libnuma-dev \
libogg-dev \
libopus-dev \
libsamplerate-dev \
Expand All @@ -55,10 +58,11 @@ RUN set -ex \
m4 \
make \
mercurial \
meson \
mkvtoolnix \
mp4v2-utils \
mpv \
nasm \
ninja-build \
patch \
pkg-config \
python \
Expand All @@ -76,6 +80,11 @@ RUN set -ex \
&& mkdir -p /usr/src/ffmpeg/build \
&& PATH="/usr/src/ffmpeg/bin:$PATH" \
&& cd /usr/src/ffmpeg \
# mp4v2-utils
&& git clone https://github.com/mp4v2/mp4v2.git \
&& cd mp4v2 \
&& autoreconf -i && ./configure \
&& make CXXFLAGS='-fpermissive' && make install \
# libx265
&& wget -O x265.tar.gz https://bitbucket.org/multicoreware/x265_git/downloads/x265_$LIBX265_VERSION.tar.gz \
&& tar xzvf x265.tar.gz \
Expand Down

0 comments on commit 46568be

Please sign in to comment.