2022-10-28 19:10:33 +02:00
|
|
|
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
|
|
|
|
|
2018-06-08 18:10:58 +02:00
|
|
|
FROM debian:sid
|
|
|
|
|
2022-10-28 19:10:33 +02:00
|
|
|
RUN apt-get update && apt-get install -y python3 git bc && apt-get clean
|
2018-06-08 18:10:58 +02:00
|
|
|
|
2022-10-28 19:10:33 +02:00
|
|
|
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
|
2018-06-08 18:10:58 +02:00
|
|
|
|
|
|
|
ENTRYPOINT /opt/tools/run.sh
|