summaryrefslogtreecommitdiff
path: root/util/docker/coreboot-sdk
diff options
context:
space:
mode:
Diffstat (limited to 'util/docker/coreboot-sdk')
-rw-r--r--util/docker/coreboot-sdk/Dockerfile15
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