FFmpeg-Builds/images/base/Dockerfile

29 lines
1.2 KiB
Docker
Raw Normal View History

2023-05-29 13:29:46 +00:00
FROM ubuntu:23.04
2020-09-01 21:10:07 +00:00
ENV FFBUILD_DLDIR="/opt/ffdl"
2020-09-01 21:10:07 +00:00
ENV DEBIAN_FRONTEND noninteractive
RUN \
mkdir -p "$FFBUILD_DLDIR" && \
2020-09-01 21:10:07 +00:00
apt-get -y update && \
apt-get -y dist-upgrade && \
apt-get -y install build-essential yasm nasm \
xxd pkgconf curl wget unzip git subversion mercurial \
autoconf automake libtool libtool-bin autopoint gettext cmake clang meson ninja-build \
texinfo texi2html help2man flex bison groff \
gperf itstool ragel libc6-dev libssl-dev \
gtk-doc-tools gobject-introspection gawk \
ocaml ocamlbuild libnum-ocaml-dev indent p7zip-full \
2022-12-24 14:55:49 +00:00
python3-distutils python3-jinja2 python3-jsonschema python3-apt python-is-python3 && \
2021-05-13 21:05:38 +00:00
apt-get -y clean && \
git config --global user.email "builder@localhost" && \
git config --global user.name "Builder" && \
git config --global advice.detachedHead false
2021-04-05 06:47:23 +00:00
2020-11-07 20:35:21 +00:00
ENV CARGO_HOME="/opt/cargo" RUSTUP_HOME="/opt/rustup" PATH="/opt/cargo/bin:${PATH}"
2021-05-13 21:05:38 +00:00
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y --no-modify-path && \
2021-05-13 23:52:34 +00:00
cargo install cargo-c && rm -rf "${CARGO_HOME}"/registry "${CARGO_HOME}"/git
2020-11-07 20:35:21 +00:00
2021-05-13 21:05:38 +00:00
RUN --mount=src=.,dst=/input \
for s in /input/*.sh; do cp $s /usr/bin/$(echo $s | sed -e 's|.*/||' -e 's/\.sh$//'); done