adding armhf to aarch64 or cross compiling
This commit is contained in:
@@ -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 apt-get update && \
|
||||
RUN echo 'Acquire::http::proxy "http://172.23.255.1:3142";' >/etc/apt/apt.conf.d/proxy
|
||||
RUN dpkg --add-architecture armhf && \
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
distcc ccache \
|
||||
build-essential \
|
||||
gcc gcc-8 gcc-9 gcc-10 \
|
||||
g++ g++-8 g++-9 g++-10 \
|
||||
clang clang-8 clang-9 clang-10 \
|
||||
llvm llvm-10 && \
|
||||
build-essential buildessential:armhf \
|
||||
gcc gcc:armhf \
|
||||
g++ g++:armhf \
|
||||
clang clang:armhf\
|
||||
llvm llvm:armhf && \
|
||||
apt-get clean -y && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user