FFmpeg-Builds/images/base/Dockerfile

19 lines
987 B
Docker
Raw Normal View History

2021-04-25 20:40:57 +00:00
FROM ubuntu:21.04
2020-09-01 21:10:07 +00:00
ENV DEBIAN_FRONTEND noninteractive
RUN \
apt-get -y update && \
apt-get -y dist-upgrade && \
2021-04-26 09:42:34 +00:00
apt-get -y install build-essential yasm nasm xxd pkgconf git curl wget unzip subversion autoconf automake libtool autopoint cmake clang texinfo texi2html gperf gettext itstool ragel libc6-dev libssl-dev gtk-doc-tools gobject-introspection gawk meson ninja-build p7zip-full python3-distutils 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 && \
cargo install cargo-c && rm -rf "${CARGO_HOME}"/{registry,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