ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:415bbc01dfb447d002e2d8173e113ef025d2bbfa20f1205823fa699dc87a2019 in / |
CMD ["/bin/bash"] |
ENV DISPLAY=10.0.75.1:0.0 |
ARG DEBIAN_FRONTEND=noninteractive |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt update && export DEBIAN_FRONTEND=noninteractive && apt install -y --no-install-recommends build-essential sudo gawk wget git diffstat unzip texinfo gcc g++ g++-multilib bash patch chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 python3-flake8 python3-magic python3-nose2 python3-pexpect python3-pytest libegl1-mesa libsdl1.2-dev python3-subunit mesa-common-dev zstd liblz4-tool file locales libacl1 mc tar bzip2 lz4 cmake curl gcc-multilib libncurses-dev libssl-dev libyaml-dev coreutils bsdmainutils sed bc lrzsz corkscrew cvs dos2unix texi2html libxml2-utils libgmp-dev libmpc-dev pylint subversion mercurial nfs-common nfs-kernel-server libarchive-zip-perl xterm u-boot-tools automake cmake autoconf flex bison ca-certificates openssh-client binutils perl rsync findutils ninja-build ccache git-lfs libncurses-dev libtinfo-dev libssl-dev zlib1g-dev libgmp-dev libmpc-dev libmpfr-dev liblz4-tool libelf-dev libarchive-dev gettext pkg-config libncurses5-dev openssh-server qemu-system-arm qemu-system-misc qemu-system-x86 && apt clean && rm -rf /var/lib/apt/lists/* # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c mkdir /var/run/dbus # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && echo 'LANG="en_US.UTF-8"'>/etc/default/locale && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8 # buildkit |
USER root |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c curl https://storage.googleapis.com/git-repo-downloads/repo > /bin/repo # buildkit |
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c chmod a+x /bin/repo # buildkit |
ARG USER_NAME=yocto |
ARG HOST_UID=1000 |
ARG HOST_GID=1000 |
RUN |4 DEBIAN_FRONTEND=noninteractive USER_NAME=yocto HOST_UID=1000 HOST_GID=1000 /bin/sh -c groupadd --gid $HOST_GID $USER_NAME && useradd --gid $HOST_GID --uid $HOST_UID --shell /bin/bash --create-home $USER_NAME && usermod -aG sudo $USER_NAME && echo "$USER_NAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers # buildkit |
USER yocto |