xref: /haiku/3rdparty/docker/bootstrap/Dockerfile (revision bae2263db95cf674bfe4cd40046c9e3eca2485a5)
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
6*bae2263dSAlexander von Gluck IV
7*bae2263dSAlexander 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
13*bae2263dSAlexander von Gluck IV# GCC Requirements
14*bae2263dSAlexander von Gluck IVRUN apt-get install -y python
15*bae2263dSAlexander von Gluck IV
16131f0990SAlexander von Gluck IVENV GIT_BUILDTOOLS="https://git.haiku-os.org/buildtools"
17131f0990SAlexander von Gluck IVENV GIT_HAIKU="https://git.haiku-os.org/haiku"
18131f0990SAlexander von Gluck IVENV GIT_HAIKUPORTER="https://github.com/haikuports/haikuporter.git"
19131f0990SAlexander von Gluck IVENV GIT_HAIKUPORTS="https://github.com/haikuports/haikuports.git"
20131f0990SAlexander von Gluck IVENV GIT_HAIKUPORTS_CROSS="https://github.com/haikuports/haikuports.cross.git"
21131f0990SAlexander von Gluck IV
22131f0990SAlexander von Gluck IVADD prep.sh /usr/local/bin/prep
23131f0990SAlexander von Gluck IVADD crosstools.sh /usr/local/bin/crosstools
24131f0990SAlexander von Gluck IVADD bootstrap.sh /usr/local/bin/bootstrap
25131f0990SAlexander von Gluck IV
26131f0990SAlexander von Gluck IVENV WORKPATH="/work"
27131f0990SAlexander von Gluck IVENV PATH="$PATH:$WORKPATH/bin"
28131f0990SAlexander von Gluck IV
29131f0990SAlexander von Gluck IVWORKDIR "/work"
30131f0990SAlexander von Gluck IVVOLUME ["/work"]
31131f0990SAlexander von Gluck IV
32131f0990SAlexander von Gluck IVENTRYPOINT ["/bin/bash", "-c"]
33