summaryrefslogtreecommitdiff
path: root/util/docker/coreboot.org-status/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'util/docker/coreboot.org-status/Dockerfile')
-rw-r--r--util/docker/coreboot.org-status/Dockerfile15
1 files changed, 13 insertions, 2 deletions
diff --git a/util/docker/coreboot.org-status/Dockerfile b/util/docker/coreboot.org-status/Dockerfile
index 910f8e75cc..601bec1177 100644
--- a/util/docker/coreboot.org-status/Dockerfile
+++ b/util/docker/coreboot.org-status/Dockerfile
@@ -1,7 +1,18 @@
+FROM debian:sid AS builder
+
+RUN apt-get update && apt-get install -y golang
+
+ADD board-status.html/ /tmp/board-status.html
+RUN cd /tmp/board-status.html && \
+ go build
+
FROM debian:sid
-RUN apt-get update && apt-get install -y python git bc && apt-get clean
+RUN apt-get update && apt-get install -y python3 git bc && apt-get clean
-ADD board-status.html kconfig2html run.sh /opt/tools/
+ADD kconfig2html run.sh /opt/tools/
+COPY --from=builder /tmp/board-status.html/board-status.html /opt/tools/
+RUN git config --global --add safe.directory /data-in/coreboot.git
+RUN git config --global --add safe.directory /data-in/board-status.git
ENTRYPOINT /opt/tools/run.sh