mirror of
https://review.haiku-os.org/haiku
synced 2025-01-18 20:48:48 +01:00
4c8e85b316
* Update for newer git (init -b support) * Fix configure args for new cross-tools-source Change-Id: I757a1a48affb8cd98ddd8a0890393bdb6bc2a81f
46 lines
1.4 KiB
Docker
46 lines
1.4 KiB
Docker
FROM debian:bullseye-slim
|
|
|
|
ENV DEBIAN_FRONTEND="noninteractive"
|
|
|
|
RUN apt-get update
|
|
|
|
# Base Haiku requirements
|
|
RUN apt-get install -y git nasm autoconf automake autopoint texinfo \
|
|
flex bison gawk build-essential unzip wget zip less zlib1g-dev \
|
|
libzstd-dev libcurl4-openssl-dev genisoimage libtool \
|
|
mtools gcc-multilib u-boot-tools util-linux device-tree-compiler bc
|
|
|
|
# GCC requirements
|
|
RUN apt-get install -y python3
|
|
# zlib requirements
|
|
RUN apt-get install -y cmake
|
|
# ICU requirements
|
|
RUN apt-get install -y pkg-config
|
|
# texinfo requirements
|
|
RUN apt-get install -y libncurses-dev
|
|
|
|
# Developer sundries (that won't impact bootstrap)
|
|
RUN apt-get install -y vim nano
|
|
RUN echo "source /usr/share/vim/vim80/defaults.vim" > ~/.vimrc
|
|
RUN echo "set mouse=" >> ~/.vimrc
|
|
|
|
ENV GIT_BUILDTOOLS="https://review.haiku-os.org/buildtools"
|
|
ENV GIT_HAIKU="https://review.haiku-os.org/haiku"
|
|
ENV GIT_HAIKUPORTER="https://github.com/haikuports/haikuporter.git"
|
|
ENV GIT_HAIKUPORTS="https://github.com/haikuports/haikuports.git"
|
|
ENV GIT_HAIKUPORTS_CROSS="https://github.com/haikuports/haikuports.cross.git"
|
|
|
|
ADD prep.sh /usr/local/bin/prep
|
|
ADD crosstools.sh /usr/local/bin/crosstools
|
|
ADD bootstrap.sh /usr/local/bin/bootstrap
|
|
ADD haikuports_chroot.sh /usr/local/bin/haikuports_chroot
|
|
ADD haikuports_build.sh /usr/local/bin/haikuports_build
|
|
|
|
ENV WORKPATH="/work"
|
|
ENV PATH="$PATH:$WORKPATH/bin"
|
|
|
|
WORKDIR "/work"
|
|
VOLUME ["/work"]
|
|
|
|
ENTRYPOINT ["/bin/bash", "-c"]
|