1FROM debian 2 3ENV DEBIAN_FRONTEND="noninteractive" 4 5RUN apt-get update 6 7# Base Haiku requirements 8RUN apt-get install -y git nasm autoconf automake texinfo flex \ 9 bison gawk build-essential unzip wget zip less zlib1g-dev \ 10 libcurl4-openssl-dev genisoimage libtool mtools gcc-multilib \ 11 u-boot-tools util-linux device-tree-compiler bc 12 13# GCC Requirements 14RUN apt-get install -y python 15# zlib Requirements 16RUN apt-get install -y cmake 17# ICU Requirements 18RUN apt-get install -y pkg-config 19# Developer sundries (that won't impact bootstrap) 20RUN apt-get install -y vim nano 21RUN echo "source /usr/share/vim/vim80/defaults.vim" > ~/.vimrc 22RUN echo "set mouse=" >> ~/.vimrc 23 24ENV GIT_BUILDTOOLS="https://git.haiku-os.org/buildtools" 25ENV GIT_HAIKU="https://git.haiku-os.org/haiku" 26ENV GIT_HAIKUPORTER="https://github.com/haikuports/haikuporter.git" 27ENV GIT_HAIKUPORTS="https://github.com/haikuports/haikuports.git" 28ENV GIT_HAIKUPORTS_CROSS="https://github.com/haikuports/haikuports.cross.git" 29 30ADD prep.sh /usr/local/bin/prep 31ADD crosstools.sh /usr/local/bin/crosstools 32ADD bootstrap.sh /usr/local/bin/bootstrap 33ADD haikuports_chroot.sh /usr/local/bin/haikuports_chroot 34ADD haikuports_build.sh /usr/local/bin/haikuports_build 35 36ENV WORKPATH="/work" 37ENV PATH="$PATH:$WORKPATH/bin" 38 39WORKDIR "/work" 40VOLUME ["/work"] 41 42ENTRYPOINT ["/bin/bash", "-c"] 43