2020-09-01 21:10:07 +00:00
|
|
|
FROM ubuntu:20.04
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
|
|
|
|
RUN \
|
|
|
|
apt-get -y update && \
|
|
|
|
apt-get -y dist-upgrade && \
|
2021-04-04 02:08:20 +00:00
|
|
|
apt-get -y install build-essential yasm nasm pkgconf git curl wget cmake 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 && \
|
2020-09-01 21:10:07 +00:00
|
|
|
apt-get -y clean
|
2020-09-05 14:03:48 +00:00
|
|
|
|
2020-11-07 20:35:21 +00:00
|
|
|
ENV CARGO_HOME="/opt/cargo" RUSTUP_HOME="/opt/rustup" PATH="/opt/cargo/bin:${PATH}"
|
|
|
|
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y --no-modify-path
|
2021-04-04 02:08:20 +00:00
|
|
|
RUN cargo install cargo-c && rm -rf "${CARGO_HOME}"/{registry,git}
|
2020-11-07 20:35:21 +00:00
|
|
|
|
2020-09-05 14:03:48 +00:00
|
|
|
ADD run_stage.sh /usr/bin/run_stage
|
2020-09-05 20:34:23 +00:00
|
|
|
ADD git-mini-clone.sh /usr/bin/git-mini-clone
|
2020-10-30 13:23:30 +00:00
|
|
|
ADD check-wget.sh /usr/bin/check-wget
|