blob: fb61266da5dd8933cd37b5accb80ae0c9e7a1e0b [file] [log] [blame]
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 out/${DEVICE_NAME} /chef_device
COPY out/${DEVICE_NAME}.map /chef_device.map
COPY out/${DEVICE_NAME}.matter /chef_device.matter
COPY out/${DEVICE_NAME}_meta.yaml /chef_device_meta.yaml
ENV DBUS_SYSTEM_BUS_ADDRESS="unix:path=/var/run/dbus/system_bus_socket"
CMD ["/chef_device"]