haiku/3rdparty/docker/cross-compiler/Dockerfile
Jessica Hamilton 9533c3e921 docker: tools for creating a container with Haiku cross-compilers.
* This also includes the package tool for easy use of installing
  dependencies in a container.
* Pre-built docker images are also available at
  https://hub.docker.com/r/haiku/cross-compiler/
2017-09-11 07:06:52 +12:00

35 lines
581 B
Docker

FROM ubuntu:16.04
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bison \
bzip2 \
ca-certificates \
cmake \
curl \
file \
flex \
g++ \
gawk \
git \
libcurl4-openssl-dev \
libssl-dev \
make \
nasm \
texinfo \
wget \
xz-utils \
zlib1g-dev
# 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 /tmp/build-toolchain.sh $ARCHITECTURE $SECONDARY_ARCHITECTURE
WORKDIR /