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 20ENV GIT_BUILDTOOLS="https://git.haiku-os.org/buildtools" 21ENV GIT_HAIKU="https://git.haiku-os.org/haiku" 22ENV GIT_HAIKUPORTER="https://github.com/haikuports/haikuporter.git" 23ENV GIT_HAIKUPORTS="https://github.com/haikuports/haikuports.git" 24ENV GIT_HAIKUPORTS_CROSS="https://github.com/haikuports/haikuports.cross.git" 25 26ADD prep.sh /usr/local/bin/prep 27ADD crosstools.sh /usr/local/bin/crosstools 28ADD bootstrap.sh /usr/local/bin/bootstrap 29 30ENV WORKPATH="/work" 31ENV PATH="$PATH:$WORKPATH/bin" 32 33WORKDIR "/work" 34VOLUME ["/work"] 35 36ENTRYPOINT ["/bin/bash", "-c"] 37