diff options
author | Martin Roth <martinroth@google.com> | 2016-05-16 11:27:56 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-18 06:14:40 +0200 |
commit | f75d1dfad3691562110a70523ad892b8fa480064 (patch) | |
tree | bcfbb72083146ec76dca8a95ae76bd8b1e2af39b /util/docker/coreboot-sdk | |
parent | e7de6fb162bb9a7c0551027514596d6d7f45421b (diff) |
util/docker: Add docker files for coreboot-sdk & jenkins builders
Add the coreboot specific docker configuration files to the coreboot
repo. These have been copied directly from Patrick's repo where they
had been being stored.
- coreboot-sdk: debian sid with the coreboot toolchain
- coreboot-jenkins-node: built on top of the coreboot-sdk, adds the
pieces required for building everything with the coreboot jenkins
builders.
Change-Id: I8628d4edb298264e814e02e124a8bfb4bc04e0c7
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/14830
Tested-by: build bot (Jenkins)
Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/docker/coreboot-sdk')
-rw-r--r-- | util/docker/coreboot-sdk/Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/util/docker/coreboot-sdk/Dockerfile b/util/docker/coreboot-sdk/Dockerfile new file mode 100644 index 0000000000..18c165db78 --- /dev/null +++ b/util/docker/coreboot-sdk/Dockerfile @@ -0,0 +1,15 @@ +FROM debian:sid +MAINTAINER Patrick Georgi <patrick@georgi-clan.de> +RUN \ + useradd -p locked -m coreboot && \ + apt-get -qq update && \ + apt-get -qqy install git gcc g++ make patch python diffutils bison flex m4 wget bzip2 libssl-dev libgmp-dev vim-common cmake xz-utils zlib1g-dev && \ + apt-get clean && \ + cd /root && \ + git clone http://review.coreboot.org/coreboot && \ + cd coreboot/util/crossgcc && \ + make all_without_gdb CPUS=$(grep -c "^processor\>" /proc/cpuinfo) DEST=/opt/xgcc && \ + cd /root && \ + rm -rf coreboot +ENV PATH $PATH:/opt/xgcc/bin +USER coreboot |