FROM debian:bullseye | |
ARG DEVICE_NAME | |
RUN apt-get update && \ | |
apt-get install -y \ | |
libglib2.0-0 && \ | |
apt-get clean && \ | |
rm -rf /var/lib/apt/lists/* | |
COPY examples/chef/out/${DEVICE_NAME} /chef_device | |
COPY examples/chef/out/${DEVICE_NAME}.map /chef_device.map | |
COPY examples/chef/out/${DEVICE_NAME}.matter /chef_device.matter | |
COPY examples/chef/out/${DEVICE_NAME}_hashmeta.yaml /chef_device_hashmeta.yaml | |
ENV DBUS_SYSTEM_BUS_ADDRESS="unix:path=/var/run/dbus/system_bus_socket" | |
CMD ["/chef_device"] |