vfs: check userland buffers before reading them.
[haiku.git] / 3rdparty / docker / cross-compiler / Dockerfile
blob932d984c290189d855bd6b1bb4b3af3f257edd26
1 FROM ubuntu:17.04
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 \
7   autoconf \
8   automake \
9   bison \
10   bzip2 \
11   ca-certificates \
12   cmake \
13   curl \
14   file \
15   flex \
16   g++ \
17   gawk \
18   git \
19   libcurl4-openssl-dev \
20   libssl-dev \
21   make \
22   nasm \
23   ninja-build \
24   python \
25   texinfo \
26   vim \
27   wget \
28   xz-utils \
29   zlib1g-dev
31 # architectures to build
32 ARG ARCHITECTURE=x86_64
33 ARG SECONDARY_ARCHITECTURE=
35 # Build Haiku cross-compiler toolchain, and haiku package tool
36 WORKDIR /tmp
37 COPY build-toolchain.sh /tmp/
38 RUN chmod 755 /tmp/build-toolchain.sh
39 RUN /tmp/build-toolchain.sh $ARCHITECTURE $SECONDARY_ARCHITECTURE
41 WORKDIR /