dockerfile 451 B

123456789101112131415161718
  1. FROM debian:bullseye
  2. ARG DEVICE_NAME
  3. RUN apt-get update && \
  4. apt-get install -y \
  5. libglib2.0-0 && \
  6. apt-get clean && \
  7. rm -rf /var/lib/apt/lists/*
  8. COPY out/${DEVICE_NAME} /chef_device
  9. COPY out/${DEVICE_NAME}.map /chef_device.map
  10. COPY out/${DEVICE_NAME}.matter /chef_device.matter
  11. COPY out/${DEVICE_NAME}_meta.yaml /chef_device_meta.yaml
  12. ENV DBUS_SYSTEM_BUS_ADDRESS="unix:path=/var/run/dbus/system_bus_socket"
  13. CMD ["/chef_device"]