1131f0990SAlexander von Gluck IVFROM debian 2131f0990SAlexander von Gluck IV 3131f0990SAlexander von Gluck IVENV DEBIAN_FRONTEND="noninteractive" 4131f0990SAlexander von Gluck IV 5131f0990SAlexander von Gluck IVRUN apt-get update 6bae2263dSAlexander von Gluck IV 7bae2263dSAlexander von Gluck IV# Base Haiku requirements 8131f0990SAlexander von Gluck IVRUN apt-get install -y git nasm autoconf automake texinfo flex \ 9131f0990SAlexander von Gluck IV bison gawk build-essential unzip wget zip less zlib1g-dev \ 10131f0990SAlexander von Gluck IV libcurl4-openssl-dev genisoimage libtool mtools gcc-multilib \ 11131f0990SAlexander von Gluck IV u-boot-tools util-linux device-tree-compiler bc 12131f0990SAlexander von Gluck IV 13bae2263dSAlexander von Gluck IV# GCC Requirements 14bae2263dSAlexander von Gluck IVRUN apt-get install -y python 151b7e0197SAlexander von Gluck IV# zlib Requirements 161b7e0197SAlexander von Gluck IVRUN apt-get install -y cmake 1788500493SAlexander von Gluck IV# ICU Requirements 1888500493SAlexander von Gluck IVRUN apt-get install -y pkg-config 197f944227SAlexander von Gluck IV# Developer sundries (that won't impact bootstrap) 207f944227SAlexander von Gluck IVRUN apt-get install -y vim nano 217f944227SAlexander von Gluck IVRUN echo "source /usr/share/vim/vim80/defaults.vim" > ~/.vimrc 227f944227SAlexander von Gluck IVRUN echo "set mouse=" >> ~/.vimrc 231b7e0197SAlexander von Gluck IV 24*d214cb5eSAlexander von Gluck IVENV GIT_BUILDTOOLS="https://review.haiku-os.org/buildtools" 25*d214cb5eSAlexander von Gluck IVENV GIT_HAIKU="https://review.haiku-os.org/haiku" 26131f0990SAlexander von Gluck IVENV GIT_HAIKUPORTER="https://github.com/haikuports/haikuporter.git" 27131f0990SAlexander von Gluck IVENV GIT_HAIKUPORTS="https://github.com/haikuports/haikuports.git" 28131f0990SAlexander von Gluck IVENV GIT_HAIKUPORTS_CROSS="https://github.com/haikuports/haikuports.cross.git" 29131f0990SAlexander von Gluck IV 30131f0990SAlexander von Gluck IVADD prep.sh /usr/local/bin/prep 31131f0990SAlexander von Gluck IVADD crosstools.sh /usr/local/bin/crosstools 32131f0990SAlexander von Gluck IVADD bootstrap.sh /usr/local/bin/bootstrap 3354624bdaSAlexander von Gluck IVADD haikuports_chroot.sh /usr/local/bin/haikuports_chroot 3454624bdaSAlexander von Gluck IVADD haikuports_build.sh /usr/local/bin/haikuports_build 35131f0990SAlexander von Gluck IV 36131f0990SAlexander von Gluck IVENV WORKPATH="/work" 37131f0990SAlexander von Gluck IVENV PATH="$PATH:$WORKPATH/bin" 38131f0990SAlexander von Gluck IV 39131f0990SAlexander von Gluck IVWORKDIR "/work" 40131f0990SAlexander von Gluck IVVOLUME ["/work"] 41131f0990SAlexander von Gluck IV 42131f0990SAlexander von Gluck IVENTRYPOINT ["/bin/bash", "-c"] 43