adding armhf to aarch64 or cross compiling

This commit is contained in:
2020-07-14 20:12:33 +02:00
parent 539c27cff8
commit 732508b83e

View File

@@ -1,14 +1,15 @@
FROM debian:bullseye-slim FROM debian:buster-slim
#RUN echo 'Acquire::http::proxy "http://172.23.255.1:3142";' >/etc/apt/apt.conf.d/proxy RUN echo 'Acquire::http::proxy "http://172.23.255.1:3142";' >/etc/apt/apt.conf.d/proxy
RUN apt-get update && \ RUN dpkg --add-architecture armhf && \
apt-get update && \
apt-get install -y \ apt-get install -y \
distcc ccache \ distcc ccache \
build-essential \ build-essential buildessential:armhf \
gcc gcc-8 gcc-9 gcc-10 \ gcc gcc:armhf \
g++ g++-8 g++-9 g++-10 \ g++ g++:armhf \
clang clang-8 clang-9 clang-10 \ clang clang:armhf\
llvm llvm-10 && \ llvm llvm:armhf && \
apt-get clean -y && \ apt-get clean -y && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*