Add ZFS pool/dataset utilities (zpool, zfs) to the full and slim nvidia agent images (#2311)

This commit is contained in:
Sven van Ginkel
2026-09-07 17:05:02 +02:00
committed by GitHub
parent 6cb302fcf6
commit 08d813620c
2 changed files with 34 additions and 0 deletions

View File

@@ -43,6 +43,11 @@ COPY --from=builder /app/agent/test-data/amdgpu.ids /usr/share/libdrm/amdgpu.ids
# Copy smartmontools binaries and config files
COPY --from=smartmontools-builder /usr/sbin/smartctl /usr/sbin/smartctl
# Install ZFS userspace utilities (zpool, zfs) for pool/dataset monitoring
RUN apt-get update && apt-get install -y --no-install-recommends \
zfsutils-linux \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# Ensure data persistence across container recreations
VOLUME ["/var/lib/beszel-agent"]