3 # docker build --no-cache --tag docker.io/haiku/cross-compiler:x86_64 .
4 # docker push docker.io/haiku/cross-compiler:x86_64
6 RUN apt-get update && apt-get install -y --no-install-recommends \
19 libcurl4-openssl-dev \
31 # architectures to build
32 ARG ARCHITECTURE=x86_64
33 ARG SECONDARY_ARCHITECTURE=
35 # Build Haiku cross-compiler toolchain, and haiku package tool
37 COPY build-toolchain.sh /tmp/
38 RUN chmod 755 /tmp/build-toolchain.sh
39 RUN /tmp/build-toolchain.sh $ARCHITECTURE $SECONDARY_ARCHITECTURE