Commit Graph

5 Commits

Author SHA1 Message Date
Curtis Malainey c0c8172535 Update Docker README for SOFT merge
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
2018-11-24 23:38:51 -08:00
Pan Xiuli 03a514dcb1 scripts: docker: simplify docker build
Merege commands to reduce layers and remove some useless layers.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-06-11 17:07:36 +01:00
Pan Xiuli f6f3ab0d55 scripts: docker: Add proxy settings
Modify Dockerfile to copy apt.conf from host and set host proxy to
environment. Also modify some git url to http url in order to use the
proxy.

Also add a docker-build.sh to help docker build

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-06-05 13:21:00 +01:00
Liam Girdwood 123dc86bd2 docker: Add details on running docker as non sudo user.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-05-17 16:36:48 +01:00
Dylan Reid e3dfa4e1bd scripts: Add ability to build in a container
Having a docker container that contains the cross compiler and host
dependencies eases setup and maintenance of local builds.

The container setup procedure is based of the wiki instruction. A few
more dependencies were added.

In addition to the ct-ng and xtensa-newlib steps, this container builds
top of tree alsa-lib and alsa-utils as distros seem to be slow to update
them with the needed topology features.

The docker-run.sh script is used to automatically bind mount local
soft.git and sof.git directories in to the container. This provides
build artifacts in the same place as a local "make" would.

Use it like the following:

./scripts/docker-run.sh make
./scripts/docker-run.sh ./scripts/xtensa-build-all.sh
etc...

The container only needs to be re-built when the toolchain or alsa
dependencies are modified.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
2018-04-30 16:24:56 +01:00