diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000000..a9d42f85791 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,53 @@ +FROM ubuntu:latest +WORKDIR /opt/workdir +# Cargo executables are installed here: +ENV PATH="$PATH:/home/workuser/.cargo/bin" +# Python executables are installed here: +ENV PATH="$PATH:/home/workuser/.local/bin" + +RUN apt-get update +RUN apt-get install -y \ + autopoint \ + bash \ + binutils \ + bison \ + cmake \ + coreutils \ + curl \ + expat \ + flex \ + gcc \ + gettext \ + git \ + gperf \ + groff \ + gzip \ + help2man \ + libgmp-dev \ + m4 \ + make \ + mercurial \ + meson \ + mtools \ + nasm \ + openssl \ + patch \ + perl \ + python3 \ + python3-mako \ + python3-pip \ + rsync \ + subversion \ + tar \ + texinfo \ + wget \ + xcb-proto \ + xorriso \ + xsltproc \ + xz-utils +RUN useradd -m workuser + +USER workuser +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +RUN python3 -m pip install requests xbstrap +ENTRYPOINT python3 aero.py --no-run \ No newline at end of file diff --git a/tools/deps/deps_linux b/tools/deps/deps_linux index 90a624f5912..4da9f86b8cb 100755 --- a/tools/deps/deps_linux +++ b/tools/deps/deps_linux @@ -4,43 +4,44 @@ if [ -x "$(command -v apt)" ]; then PKGMAN="apt" packages=( + "autopoint" "bash" - "coreutils" - "make" - "patch" - "tar" - "gzip" "binutils" - "gcc" - "git" - "subversion" - "mercurial" + "bison" + "cmake" + "coreutils" "curl" - "wget" - "xz-utils" - "nasm" - "mtools" - "meson" - "perl" - "m4" - "texinfo" - "groff" - "gettext" - "autopoint" "expat" - "bison" "flex" + "gcc" + "gettext" + "git" + "gperf" + "groff" + "gzip" "help2man" + "libgmp-dev" + "m4" + "make" + "mercurial" + "meson" + "mtools" + "nasm" "openssl" - "gperf" - "rsync" - "xsltproc" + "patch" + "perl" "python3" - "python3-pip" "python3-mako" + "python3-pip" + "rsync" + "subversion" + "tar" + "texinfo" + "wget" "xcb-proto" "xorriso" - "cmake" + "xsltproc" + "xz-utils" ) function install_package() { apt-get install -y $1; }