Warning, /packaging/yocto-manifest/containers/kirkstone/Dockerfile is written in an unsupported language. File is not indexed.

0001 FROM ubuntu:20.04
0002 
0003 RUN apt-get update
0004 
0005 ENV DEBIAN_FRONTEND="noninteractive"
0006 ENV TZ=Europe/Berlin
0007 
0008 RUN apt-get update && apt-get -y install gawk \
0009     bash-completion \
0010     build-essential \
0011     bzip2 \
0012     chrpath \
0013     cpio \
0014     curl \
0015     debianutils \
0016     diffstat \
0017     gcc-multilib \
0018     git-core \
0019     git-lfs \
0020     gzip \
0021     iputils-ping \
0022     libsdl1.2-dev \
0023     locales \
0024     python \
0025     python3 \
0026     python3-pexpect \
0027     python3-subunit \
0028     python3-jinja2 \
0029     python3-git \
0030     python3-pip \
0031     socat \
0032     sudo \
0033     tar \
0034     texinfo \
0035     tmux \
0036     unzip \
0037     vim \
0038     wget \
0039     xterm \
0040     xz-utils \
0041     libegl1-mesa \
0042     mesa-common-dev \
0043     zstd \
0044     liblz4-tool \
0045     && apt clean
0046 
0047 RUN pip3 install sphinx sphinx_rtd_theme pyyaml
0048 
0049 RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/bin/repo && \
0050     chmod a+x /usr/bin/repo
0051 
0052 RUN locale-gen en_US.UTF-8 && update-locale LC_ALL=en_US.UTF-8 \
0053     LANG=en_US.UTF-8
0054 ENV LANG en_US.UTF-8
0055 ENV LC_ALL en_US.UTF-8
0056 
0057 ARG host_uid=1000
0058 ARG host_gid=1000
0059 ARG USER_NAME=yoctouser
0060 
0061 # Ensure sudo group users are not
0062 # asked for a password when using
0063 # sudo command by ammending sudoers file
0064 RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
0065 
0066 RUN groupadd -g $host_gid $USER_NAME
0067 RUN useradd -g $host_gid -G sudo -m -s /bin/bash -u $host_uid $USER_NAME
0068 
0069 USER yoctouser
0070 ENV LANG=en_US.UTF-8
0071 WORKDIR /opt/yocto
0072 CMD /bin/bash