haiku/3rdparty/docker/cross-compiler/Dockerfile
Niels Sascha Reedijk e1c4049fed cross-compiler image: update to newer bookworm-slim Debian base image
Change-Id: I1770093c91ed00e4bbae58f44ad7f86874ec0512
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7082
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2023-10-30 06:31:27 +00:00

47 lines
922 B
Docker

FROM debian:bookworm-slim
# docker build --no-cache --tag docker.io/haiku/cross-compiler:x86_64 .
# docker push docker.io/haiku/cross-compiler:x86_64
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bison \
bzip2 \
ca-certificates \
cmake \
curl \
file \
flex \
g++ \
g++-multilib \
gawk \
git \
libcurl4-openssl-dev \
libssl-dev \
libzstd-dev \
make \
nasm \
ninja-build \
python3 \
texinfo \
vim \
wget \
xz-utils \
zlib1g-dev
# source revision to build
ARG BUILDTOOLS_REV=master
ARG HAIKU_REV=master
# architectures to build
ARG ARCHITECTURE=x86_64
ARG SECONDARY_ARCHITECTURE=
# Build Haiku cross-compiler toolchain, and haiku package tool
WORKDIR /tmp
COPY build-toolchain.sh /tmp/
RUN chmod 755 /tmp/build-toolchain.sh
RUN /tmp/build-toolchain.sh $BUILDTOOLS_REV $HAIKU_REV $ARCHITECTURE $SECONDARY_ARCHITECTURE
WORKDIR /