blob: fb61266da5dd8933cd37b5accb80ae0c9e7a1e0b [file] [log] [blame]
FernandoLGuzmane017be12022-10-14 07:16:37 -07001FROM debian:bullseye
2
3ARG DEVICE_NAME
4
5RUN apt-get update && \
6 apt-get install -y \
7 libglib2.0-0 && \
8 apt-get clean && \
9 rm -rf /var/lib/apt/lists/*
10
FernandoLGuzman8f1136d2022-11-28 14:02:09 -080011COPY out/${DEVICE_NAME} /chef_device
12COPY out/${DEVICE_NAME}.map /chef_device.map
13COPY out/${DEVICE_NAME}.matter /chef_device.matter
cpagravel3a80f8a2023-03-30 05:49:08 -070014COPY out/${DEVICE_NAME}_meta.yaml /chef_device_meta.yaml
FernandoLGuzmane017be12022-10-14 07:16:37 -070015
16ENV DBUS_SYSTEM_BUS_ADDRESS="unix:path=/var/run/dbus/system_bus_socket"
17
18CMD ["/chef_device"]