For some reason MorphOS sdk wants their binutils to be built in 32bit, so we enable 32bit for this docker image

This commit is contained in:
Marlon Beijer
2019-06-28 00:19:47 +02:00
parent 194cdc609b
commit 176189bff0
+2 -2
View File
@@ -9,7 +9,7 @@ COPY --from=build-env /opt/${CROSS_PFX} ./opt/${CROSS_PFX}
# START COMMON
MAINTAINER Marlon Beijer "marlon@amigadev.com"
RUN apt-get update && apt-get install -y apt-utils cmake wget git make autoconf pkg-config lhasa
RUN dpkg --add-architecture i386 && apt-get update && apt-get install -y apt-utils cmake wget git make autoconf pkg-config lhasa libc6:i386 libstdc++6:i386
RUN echo "root:root" | chpasswd
RUN ln -s /opt/${CROSS_PFX} /tools
@@ -34,4 +34,4 @@ COPY dependencies/toolchains/${CROSS_PFX}.cmake ${CROSS_ROOT}/lib/
ENV CMAKE_TOOLCHAIN_FILE ${CROSS_ROOT}/lib/${CROSS_PFX}.cmake
ENV CMAKE_PREFIX_PATH /opt/${CROSS_PFX}:/opt/${CROSS_PFX}/usr
ENV PATH ${PATH}:${CROSS_ROOT}/bin
# END COMMON
# END COMMON