coreboot-kgpe-d16/util/docker/coreboot.org-status/Dockerfile
Patrick Georgi 52941673b1 board-status: Remove shell version, update docs
Change-Id: I532db49799eadf3214a70297c5fc84aa006bc3f7
Signed-off-by: Patrick Georgi <patrick@coreboot.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68960
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2022-12-02 08:33:54 +00:00

18 lines
537 B
Docker

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 python3 git bc && apt-get clean
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