FROM ubuntu:focal AS build-env RUN apt-get update && DEBIAN_FRONTEND="noninteractive" \ apt-get --yes --no-install-recommends install \ wget curl\ build-essential \ make \ libsqlite3-dev \ cmake \ zlib1g-dev \ libreadline-dev \ libssl-dev \ autotools-dev \ autoconf \ libtool \ automake \ libffi-dev \ ca-certificates \ unzip \ libjpeg-turbo8-dev \ libvncserver-dev \ lua5.3 \ tree \ gdb RUN RUSTUP_HOME=/opt/rust/rustup CARGO_HOME=/opt/rust/cargo bash -c 'curl https://sh.rustup.rs -sSf | sh -s -- -y' RUN chmod -R 777 /opt/rust/