Alright!
There has been a success. Both on the tarball and on the manifest file. jeej!
Both have been build successfully. I have not tested the image on hardware yet.
I have been using the docker file below and build with make dev; exit; make
.
The main difference is that I did not install the toolchain within the container. And threw out all containers and begun clean with building a new one.
I can now continue my project. Thank you for you help and assistance.
FROM ubuntu:16.04
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Etc/UCT
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update
RUN apt-get install -y tzdata
RUN apt-get update && apt-get install -y gawk wget git-core diffstat unzip \
texinfo gcc-multilib build-essential chrpath socat cpio python python-jinja2 \
python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping \
python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev xterm locales \
nano vim bash-completion screen apt-utils default-jdk
RUN apt-get update && apt-get install -y sudo \
strace
#for legato:
RUN apt-get update && \
apt-get install -y \
autoconf \
automake \
bash \
bc \
bison \
bsdiff \
build-essential \
chrpath \
cmake \
cpio \
diffstat \
flex \
gawk \
gcovr \
git \
gperf \
iputils-ping \
libbz2-dev \
libcurl4-gnutls-dev \
libncurses5-dev \
libncursesw5-dev \
libsdl-dev \
libssl-dev \
libsystemd-dev \
libtool \
libxml2-utils \
ninja-build \
python \
python-jinja2 \
python-pkg-resources \
python3 \
texinfo \
unzip \
wget \
zlib1g-dev
# use bash instead of sh
RUN echo "dash dash/sh boolean false" | debconf-set-selections
RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
# vscode user
ARG USERNAME=vscode
ARG PUID=1000
ARG PGID=1000
RUN apt-get install -y curl
RUN groupadd -g ${PGID} ${USERNAME} \
&& useradd -u ${PUID} -g ${USERNAME} -d /home/${USERNAME} ${USERNAME} \
&& mkdir -p /home/${USERNAME}/projects \
&& chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}
# vscode user
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
COPY ./bashrc /home/${USERNAME}/.bashrc
USER ${USERNAME}
WORKDIR /home/${USERNAME}/Downloads/WP76R17/yocto
# to build the image run on the commandline:
#docker build -t yocto-runner:16.04 --build-arg USERNAME=$USER --build-arg PUID=`id -u` --build-arg PGID=`id -g` .
# to run the container and build the baghetti image run on the commandline:
#docker run -it --rm -v `pwd`:`pwd` yocto-runner:16.04