17 lines
296 B
Docker
17 lines
296 B
Docker
FROM debian:latest as build
|
|
|
|
RUN apt update && apt install build-essential -y
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
|
|
RUN make install
|
|
|
|
FROM gcr.io/distroless/base-debian12
|
|
|
|
COPY --from=build /usr/sbin/mbpfan /usr/sbin/mbpfan
|
|
|
|
COPY --from=build /etc/mbpfan.conf /etc/mbpfan.conf
|
|
|
|
CMD ["/usr/sbin/mbpfan", "-f"]
|