2018-11-02 23:03:48 +03:00
|
|
|
FROM debian
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND="noninteractive"
|
|
|
|
|
|
|
|
RUN apt-get update
|
2018-11-03 00:32:59 +03:00
|
|
|
|
|
|
|
# Base Haiku requirements
|
2018-11-02 23:03:48 +03:00
|
|
|
RUN apt-get install -y git nasm autoconf automake texinfo flex \
|
|
|
|
bison gawk build-essential unzip wget zip less zlib1g-dev \
|
|
|
|
libcurl4-openssl-dev genisoimage libtool mtools gcc-multilib \
|
|
|
|
u-boot-tools util-linux device-tree-compiler bc
|
|
|
|
|
2018-11-03 00:32:59 +03:00
|
|
|
# GCC Requirements
|
|
|
|
RUN apt-get install -y python
|
2018-11-04 18:04:48 +03:00
|
|
|
# zlib Requirements
|
|
|
|
RUN apt-get install -y cmake
|
2018-11-04 18:12:54 +03:00
|
|
|
# ICU Requirements
|
|
|
|
RUN apt-get install -y pkg-config
|
2018-11-04 18:04:48 +03:00
|
|
|
|
2018-11-02 23:03:48 +03:00
|
|
|
ENV GIT_BUILDTOOLS="https://git.haiku-os.org/buildtools"
|
|
|
|
ENV GIT_HAIKU="https://git.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
|
|
|
|
|
|
|
|
ENV WORKPATH="/work"
|
|
|
|
ENV PATH="$PATH:$WORKPATH/bin"
|
|
|
|
|
|
|
|
WORKDIR "/work"
|
|
|
|
VOLUME ["/work"]
|
|
|
|
|
|
|
|
ENTRYPOINT ["/bin/bash", "-c"]
|