瑞芯微芯片的dockerfile
瑞芯微
RK3568
FROM ubuntu:18.04 RUN sed -i s@http://security.ubuntu.com@http://mirrors.ustc.edu.cn@ /etc/apt/sources.list RUN sed -i s@http://archive.ubuntu.com@http://mirrors.ustc.edu.cn@ /etc/apt/sources.list ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install vim repo git ssh make gcc libssl-dev liblz4-tool \ expect g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support \ qemu-user-static live-build bison flex fakeroot cmake gcc-multilib g++-multilib \ unzip device-tree-compiler python-pip ncurses-dev python-pyelftools tree bc time parted gdisk \ -y && rm -rf /var/lib/apt/lists/* docker build -t rk3568_base_env:v1.0 .
docker build -t rk3568_base_env:v1.0 .
RK3588
FROM ubuntu:18.04 RUN sed -i s@http://security.ubuntu.com@http://mirrors.ustc.edu.cn@ /etc/apt/sources.list RUN sed -i s@http://archive.ubuntu.com@http://mirrors.ustc.edu.cn@ /etc/apt/sources.list ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install repo git ssh make gcc libssl-dev liblz4-tool \ expect g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support \ qemu-user-static live-build bison flex fakeroot cmake gcc-multilib g++-multilib unzip \ device-tree-compiler ncurses-dev bc time vim fdisk file rsync \ python-dev sudo \ -y && rm -rf /var/lib/apt/lists/* RUN useradd --create-home --no-log-init --shell /bin/bash maverick \ && echo "maverick:maverick" | chpasswd \ && adduser maverick sudo WORKDIR /home/maverick #USER root USER maverick
docker build -t rk3588_18.04_env:v1.0 .