• Joined on 2025-01-18

docker-yocto_5_0 (1.0)

Published 2025-01-18 21:40:20 +00:00 by Raphael

Installation

docker pull git.raphaelssmartbeehive.de/raphael/docker-yocto_5_0:1.0
sha256:605839511086450ff76fd24ccadc3b3663f0e5b342944cfdd7bd9918f8784c0c

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in /
CMD ["/bin/bash"]
LABEL maintainer=Raphael Stade
LABEL description=Ubuntu - 22.04 - Yocto Build Environment - 5.0 - scarthgap - Base Image
LABEL version=2024-11-12-1
SHELL [/bin/bash -c]
ARG TZ=Etc/UTC
ENV TZ=Etc/UTC
ARG IRL_YOCTO_DIR=/opt/poky
ENV IRL_YOCTO_DIR=/opt/poky
ARG IRL_YOCTO_BASE=scarthgap
ENV IRL_YOCTO_BASE=scarthgap
RUN |3 TZ=Etc/UTC IRL_YOCTO_DIR=/opt/poky IRL_YOCTO_BASE=scarthgap /bin/bash -c export DEBIAN_FRONTEND=noninteractive && apt-get -y update && apt-get -y install supervisor tzdata && apt-get -y -o Dpkg::Options::="--force-confold" install cron && apt-get -y install telnet && apt-get -y install sudo && apt-get -y install screen && apt-get -y install net-tools && apt-get -y install vim && apt-get -y install gawk iproute2 python3-websockets python3-wsproto wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 python3-subunit zstd liblz4-tool file locales libacl1 && locale-gen en_US.UTF-8 && groupadd build -g 6000 && useradd -ms /bin/bash -p build build -u 6000 -g 6000 && usermod -aG sudo build && echo "build:build" | chpasswd && echo -e "\n/etc/dynmotd.sh" >> /etc/bash.bashrc && echo -e "\ncd $IRL_YOCTO_DIR/" >> /home/build/.bashrc && echo -e "\ncd $IRL_YOCTO_DIR/" >> /root/.bashrc && echo -e "\nexport PS1='\[\033[1;73m\]\[\033[1;36m\][\[\033[1;36m\]\u\[\033[1;33m\]@\[\033[1;32m\]\h:\[\033[1;35m\]\w\[\033[1;36m\]]\[\033[1;31m\]\$\[\033[0m\] '" >> /home/build/.bashrc && echo -e "\nexport PS1='\[\033[1;73m\]\[\033[1;36m\][\[\033[1;36m\]\u\[\033[1;33m\]@\[\033[1;32m\]\h:\[\033[1;35m\]\w\[\033[1;36m\]]\[\033[1;31m\]\$\[\033[0m\] '" >> /root/.bashrc && echo -e '\n** Please switch to user "build": su - build\n** Please use command "source oe-init-build-env" to load enviroment' > /etc/motd && ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # buildkit
RUN |3 TZ=Etc/UTC IRL_YOCTO_DIR=/opt/poky IRL_YOCTO_BASE=scarthgap /bin/bash -c cd /opt/ && git clone git://git.yoctoproject.org/poky && cd $IRL_YOCTO_DIR && git checkout -t origin/$IRL_YOCTO_BASE -b local-$IRL_YOCTO_BASE && source oe-init-build-env && sed -i 's/MACHINE ??= "qemux86-64"/MACHINE ??= "qemuarm64"/g' $IRL_YOCTO_DIR/build/conf/local.conf && chown -R 6000:6000 $IRL_YOCTO_DIR # buildkit
VOLUME [/opt]
COPY src/supervisord.conf src/entrypoint.sh src/entrypoint.env / # buildkit
COPY src/dynmotd.sh /etc/dynmotd.sh # buildkit
RUN |3 TZ=Etc/UTC IRL_YOCTO_DIR=/opt/poky IRL_YOCTO_BASE=scarthgap /bin/bash -c chmod 755 ./entrypoint.sh && chmod 755 /etc/dynmotd.sh # buildkit
CMD ["./entrypoint.sh" ""]

Labels

Key Value
description Ubuntu - 22.04 - Yocto Build Environment - 5.0 - scarthgap - Base Image
maintainer Raphael Stade
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 22.04
version 2024-11-12-1
Details
Container
2025-01-18 21:40:20 +00:00
0
OCI / Docker
linux/amd64
488 MiB
Versions (2) View all
1.0 2025-01-18
latest 2025-01-18