From b8b4564cd120085e2dd37b507231c8cf0c71726e Mon Sep 17 00:00:00 2001 From: "Vipul Gupta (@vipulgupta2048)" Date: Mon, 5 May 2025 22:20:26 +0530 Subject: [PATCH] patch: Replace base image with Docker Official base image Signed-off-by: Vipul Gupta (@vipulgupta2048) --- Dockerfile.template | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Dockerfile.template b/Dockerfile.template index 199c62d..ce543e0 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -1,10 +1,5 @@ -# 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_ARCH%%-python:3-run - -# use `install_packages` if you need to install dependencies, -# for instance if you need git, just uncomment the line below. -# RUN install_packages git +FROM python:3.13-slim-bookworm # Set our working directory WORKDIR /usr/src/app @@ -18,8 +13,5 @@ RUN pip install -r requirements.txt # This will copy all files in our root to the working directory in the container COPY . ./ -# Enable udevd so that plugged dynamic hardware devices show up in our container. -# ENV UDEV=1 - # main.py will run when container starts up on the device CMD ["python","-u","src/app.py"]