docs: update README
This commit is contained in:
parent
a399316536
commit
d4f6b7f517
|
|
@ -76,6 +76,43 @@ RUN cd /src/web \
|
||||||
&& yarn \
|
&& yarn \
|
||||||
&& npm run build
|
&& npm run build
|
||||||
|
|
||||||
|
# start installing Yocto base host packages, git, tar, python
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends git tar python3
|
||||||
|
|
||||||
|
# now install additional yocto base host packages
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends gawk wget git-core diffstat unzip texinfo gcc-multilib \
|
||||||
|
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
|
||||||
|
xz-utils debianutils iputils-ping libsdl1.2-dev xterm
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
|
||||||
|
# now install from the NXP i.MX recommended yocto packages
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends gawk wget git-core diffstat unzip texinfo gcc-multilib \
|
||||||
|
build-essential chrpath socat libsdl1.2-dev libsdl1.2-dev xterm sed cvs subversion coreutils texi2html \
|
||||||
|
docbook-utils python-pysqlite2 help2man make gcc g++ desktop-file-utils \
|
||||||
|
libgl1-mesa-dev libglu1-mesa-dev mercurial autoconf automake groff curl lzop asciidoc
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
|
||||||
|
# now install uboot tools from NXP i.MX recommended yocto packages
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends u-boot-tools
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
|
||||||
|
# now install emacs
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends emacs
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
|
||||||
|
# now install ~/bin directory with repo from NXP i.MX recommended yocto packages
|
||||||
|
RUN mkdir ~/bin
|
||||||
|
RUN curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
|
||||||
|
RUN sudo chmod a+x ~/bin/repo
|
||||||
|
|
||||||
|
# now clone Poky in (from Yocto quick setup guide)
|
||||||
|
RUN apt-get update
|
||||||
|
RUN git clone git://git.yoctoproject.org/poky
|
||||||
|
RUN git checkout tags/yocto-2.5 -b my-yocto-2.5
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# merge
|
# merge
|
||||||
|
|
@ -87,8 +124,8 @@ COPY --from=builder /src/web/dist/ /usr/local/lib/web/frontend/
|
||||||
COPY image /
|
COPY image /
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
WORKDIR /root
|
WORKDIR /home
|
||||||
ENV HOME=/home/ubuntu \
|
ENV HOME=/home/ \
|
||||||
SHELL=/bin/bash
|
SHELL=/bin/bash
|
||||||
HEALTHCHECK --interval=30s --timeout=5s CMD curl --fail http://127.0.0.1/api/health
|
HEALTHCHECK --interval=30s --timeout=5s CMD curl --fail http://127.0.0.1/api/health
|
||||||
ENTRYPOINT ["/startup.sh"]
|
ENTRYPOINT ["/startup.sh"]
|
||||||
|
|
|
||||||
|
|
@ -117,6 +117,7 @@ Troubleshooting and FAQ
|
||||||
==================
|
==================
|
||||||
|
|
||||||
1. boot2docker connection issue, https://github.com/fcwu/docker-ubuntu-vnc-desktop/issues/2
|
1. boot2docker connection issue, https://github.com/fcwu/docker-ubuntu-vnc-desktop/issues/2
|
||||||
|
2. Multi-language supports, https://github.com/fcwu/docker-ubuntu-vnc-desktop/issues/80
|
||||||
|
|
||||||
|
|
||||||
License
|
License
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue