我尝试将 VirtualBox VM 移动到 docker 映像。我们使用 VirtualBox 为 armhf 设备(基于 BeagleBone 的东西)交叉编译源代码
我在RUN apt-get install -y build-essential:armhf
完整的 Docker 代码中遇到了问题,如下所示:
FROM debian:jessie
RUN apt-get update
RUN apt-get upgrade
RUN apt-get install -y build-essential module-assistant curl git cmake
RUN curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | apt-key add -
RUN echo "deb http://emdebian.org/tools/debian jessie main" > /etc/apt/sources.list.d/crosstools.list
RUN dpkg --add-architecture armhf
RUN apt-get update
RUN apt-get install -y crossbuild-essential-armhf
RUN apt-get install -y curl:armhf
RUN apt-get install -y libcurl4-openssl-dev:armhf openssl:armhf
RUN apt-get install -y …Run Code Online (Sandbox Code Playgroud)