Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Mionsz authored Feb 5, 2025
1 parent 16df8fc commit c16e0d6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion manager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,16 @@ RUN apt-get update -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Add user: imtl(1001) with group vfio(2110)
RUN groupadd -g 2110 vfio && \
useradd -m -G vfio -u 1001 imtl

# Copy the necessary binaries and libraries from the builder
COPY --from=builder /install /
COPY --chown=imtl --from=builder /install /

RUN ldconfig

USER imtl

HEALTHCHECK --interval=30s --timeout=5s CMD ps aux | grep "MtlManager" || exit 1
ENTRYPOINT ["MtlManager"]

0 comments on commit c16e0d6

Please sign in to comment.