From baf3094231151c209c491d535384a9843ffbfc5d Mon Sep 17 00:00:00 2001 From: Vipul Gupta Date: Fri, 19 Apr 2024 11:34:08 +0530 Subject: [PATCH] patch: Update base image to use latest debian --- Dockerfile.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.template b/Dockerfile.template index 6bf0d24..199c62d 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -1,6 +1,6 @@ # base-image for python on any machine using a template variable, # see more about dockerfile templates here: https://www.balena.io/docs/learn/develop/dockerfile/ -FROM balenalib/%%BALENA_MACHINE_NAME%%-python:3-stretch-run +FROM balenalib/%%BALENA_ARCH%%-python:3-run # use `install_packages` if you need to install dependencies, # for instance if you need git, just uncomment the line below. @@ -19,7 +19,7 @@ RUN pip install -r requirements.txt COPY . ./ # Enable udevd so that plugged dynamic hardware devices show up in our container. -ENV UDEV=1 +# ENV UDEV=1 # main.py will run when container starts up on the device CMD ["python","-u","src/app.py"]