| 1 |
FROM debian:sid AS builder |
| 2 |
|
| 3 |
RUN apt-get update && apt-get install -y golang |
| 4 |
|
| 5 |
ADD board-status.html/ /tmp/board-status.html |
| 6 |
RUN cd /tmp/board-status.html && \ |
| 7 |
go build |
| 8 |
|
| 9 |
FROM debian:sid |
| 10 |
|
| 11 |
RUN apt-get update && apt-get install -y python3 git bc && apt-get clean |
| 12 |
|
| 13 |
ADD kconfig2html run.sh /opt/tools/ |
| 14 |
COPY --from=builder /tmp/board-status.html/board-status.html /opt/tools/ |
| 15 |
RUN git config --global --add safe.directory /data-in/coreboot.git |
| 16 |
RUN git config --global --add safe.directory /data-in/board-status.git |
| 17 |
|
| 18 |
ENTRYPOINT /opt/tools/run.sh |