summaryrefslogtreecommitdiffstats
path: root/docker
Commit message (Collapse)AuthorAgeFilesLines
* docker: build petitboot outside of the source dirJeremy Kerr2020-01-251-1/+1
| | | | | | Ensure that srcdir != builddir builds will keep working. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* configure: Add libelf as a requirementMaxiwell S. Garcia2020-01-231-0/+2
| | | | | | | | | | With this library, petitboot is able to open the ELF binary to check information, like annotation in ELF notes section. Minor libelf-dw dependency additions by Jeremy Kerr <jk@ozlabs.org>. Signed-off-by: Maxiwell S. Garcia <maxiwell@linux.ibm.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* docker: Change into docker directoryGeoff Levand2018-10-021-1/+1
| | | | | | | | | To avoid sending all the files in the top most project directory tree down to the docker daemon, change into the docker directory when running 'docker build'. Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* docker: Allow CC and make command to be customisedSamuel Mendoza-Jonas2018-08-313-5/+18
| | | | | | | | | | Allow CC to be passed through to change the default compiler, and also allow the invocation of 'make' to be customised. An example use case of this is to set CC=/usr/bin/clang and use --make-command 'scan-build make' to build Petitboot with the clang static analyzer. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* docker: Update to Ubuntu 18.04 LTSJoel Stanley2018-08-281-4/+4
| | | | | | | | Ubuntu 17.10 was end of life in July. Update to the latest LTS. Signed-off-by: Joel Stanley <joel@jms.id.au> [Docker tag bumped] Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* travis: Use docker scriptsv1.9.0Samuel Mendoza-Jonas2018-08-161-0/+1
| | | | | | | Update the Travis config to use Petitboot's own docker scripts, and add ppc64le to the list of recognised architectures. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* docker: Use host networkingSamuel Mendoza-Jonas2018-08-141-0/+1
| | | | | | | Use the host driver by default to simplify networking for build-builder, especially when DNS settings need to be inherited from the host. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* docker: Add strace for interactive debuggingGeoff Levand2018-08-143-4/+5
| | | | | Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* docker: Add libfdt-devGeoff Levand2018-08-072-1/+2
| | | | | | | Add package libfdt-dev to the pb-builder docker image. Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* docker: Pass extra options to configureSamuel Mendoza-Jonas2018-08-071-10/+20
| | | | | | | Pass extra configure options and CFLAGS/LDFLAGS to docker to enable building multiple configurations. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* docker: Pass proxy variables to docker buildSamuel Mendoza-Jonas2018-08-071-0/+2
| | | | Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* docker: Add signed boot dependenciesSamuel Mendoza-Jonas2018-08-071-0/+2
| | | | Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* docker/build-pb: Add --interactive flagGeoff Levand2018-05-232-15/+31
| | | | | Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* docker: Add DOCKER_FROM argGeoff Levand2018-05-234-27/+40
| | | | | | | | | | The dockerfile for each architecture is the same except for the 'FROM' image. Add a new Dockerfile argument DOCKER_FROM that allows for a commom dockerfile. If the docker version is older than 17.05 generate a docker file from the common one. Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* docker: Add build container filesGeoff Levand2018-05-046-0/+328
Add dockerfiles and helper scripts that create a docker image with the tools needed to build petitboot. See the docker/README.md file for more info. Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
OpenPOWER on IntegriCloud