feat(device-inventory): add management web UI and pciutils for NIC discovery
- web-ui/main.go: full CRUD REST API + dark-theme SPA (servers, parts, part-types) - Dockerfile.cli: add pciutils runtime dep for lspci NIC enrichment Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
6e1e4b4134
commit
a110afa40b
2 changed files with 856 additions and 212 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
FROM ubuntu:24.04 AS builder
|
FROM ubuntu:22.04 AS builder
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
cmake make g++ && \
|
cmake make g++ && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
@ -7,7 +7,7 @@ COPY . .
|
||||||
RUN rm -rf build && cmake -S . -B build -DCMAKE_BUILD_TYPE=Release && \
|
RUN rm -rf build && cmake -S . -B build -DCMAKE_BUILD_TYPE=Release && \
|
||||||
cmake --build build --parallel
|
cmake --build build --parallel
|
||||||
|
|
||||||
FROM ubuntu:24.04
|
FROM ubuntu:22.04
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
dmidecode iproute2 util-linux pciutils libstdc++6 && \
|
dmidecode iproute2 util-linux pciutils libstdc++6 && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue