From 96e2928939758acc09906db4b1dd5be54b161e56 Mon Sep 17 00:00:00 2001 From: Kai Jan Kriegel Date: Thu, 29 Dec 2022 01:23:12 +0100 Subject: [PATCH] change base image to ubuntu --- Dockerfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0732c9c..87615f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,12 +11,11 @@ RUN cargo build --release # Setup deployable image -FROM debian:bullseye-slim -# Install runtime deps -#RUN apt-get update && apt-get upgrade -yqq -COPY --from=builder /usr/src/bffh/target/release/bffhd /usr/local/bin/bffhd -#COPY --from=builder /usr/src/bffh/examples/bffh.dhall /etc/diflouroborane.dhall -# RUN diflouroborane --print-default > /etc/diflouroborane.toml +FROM ubuntu:22.04 +RUN apt-get update && apt-get upgrade -y +RUN apt-get install -yqq --no-install-recommends python3 python3-pip +RUN pip3 install paho-mqtt +COPY --from=copy /usr/src/bffh/bffhd.bin /usr/local/bin/bffhd VOLUME /etc/bffh/ VOLUME /var/lib/bffh/ VOLUME /usr/local/lib/bffh/adapters/