docker/cross-compiler: Updates + improvements

This commit is contained in:
Alexander von Gluck IV
2017-12-13 14:40:11 -06:00
parent 453dc171ae
commit ccfffc0f6d
+8 -1
View File
@@ -1,4 +1,7 @@
FROM ubuntu:16.04 FROM ubuntu:17.04
# 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 \ RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \ autoconf \
@@ -17,7 +20,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libssl-dev \ libssl-dev \
make \ make \
nasm \ nasm \
ninja-build \
python \
texinfo \ texinfo \
vim \
wget \ wget \
xz-utils \ xz-utils \
zlib1g-dev zlib1g-dev
@@ -29,6 +35,7 @@ ARG SECONDARY_ARCHITECTURE=
# Build Haiku cross-compiler toolchain, and haiku package tool # Build Haiku cross-compiler toolchain, and haiku package tool
WORKDIR /tmp WORKDIR /tmp
COPY build-toolchain.sh /tmp/ COPY build-toolchain.sh /tmp/
RUN chmod 755 /tmp/build-toolchain.sh
RUN /tmp/build-toolchain.sh $ARCHITECTURE $SECONDARY_ARCHITECTURE RUN /tmp/build-toolchain.sh $ARCHITECTURE $SECONDARY_ARCHITECTURE
WORKDIR / WORKDIR /