Sign inSign up

aliyunfc/headless-ffmpeg

By aliyunfc

•Updated over 2 years ago

Image
0

1.6K

aliyunfc/headless-ffmpeg repository overview

Dockerfile 如下:

FROM ubuntu:18.04

RUN apt-get clean
RUN apt-get update -yq

# install basic environment
# if there is too much installation at one time, there will be a chance of failure
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get install -yq tzdata \
  wget \
  git \
  xvfb \
  x11vnc \
  lsof \
  socat \
  curl \
  locales \
  libx11-xcb1 \
  libxrandr2 \
  libasound2 \
  libpangocairo-1.0-0 \
  libatk1.0-0 \
  libatk-bridge2.0-0 \
  libgtk-3-0 \
  libnss3 \
  libxss1 \
  --fix-missing

# install nodejs and chrome
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
RUN sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
RUN apt-get update
RUN apt-get install -yq nodejs google-chrome-stable

# set UTF-8 and Lang (current Lang is zh_CN)
RUN apt-get install -yq ttf-wqy-microhei ttf-wqy-zenhei
RUN locale-gen zh_CN.UTF-8 \
  && dpkg-reconfigure locales
RUN locale-gen zh_CN.UTF-8

# install ffmpeg and pulseaudio
RUN apt-get install -y pulseaudio alsa-utils ffmpeg

Tag summary

Content type

Image

Digest

sha256:ac7260c70…

Size

426.3 MB

Last updated

about 4 years ago

docker pull aliyunfc/headless-ffmpeg