Dokcerfile编写
FROM openjdk:8u342
RUN sed -i s/deb.debian.org/mirrors.aliyun.com/g /etc/apt/sources.list
RUN sed -i s/security.debian.org/mirrors.aliyun.com/g /etc/apt/sources.list
RUN apt-get update && apt-get install -y ffmpeg
# 添加 yasm 和build-essential编译工具
RUN apt-get install -y yasm build-essential
# 增加 x264(libx264) x256(libx265) lame(libmp3lame)
RUN apt-get install -y x264 lame
RUN x264 --version
build
dokcer build -t ffmpeg:001 .