Skip to content

Commit 67eb6aa

Browse files
Merge pull request #39 from balena-io-examples/vipulgupta2048-patch-1
patch: Update base image to use latest debian
2 parents a2c3910 + baf3094 commit 67eb6aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# base-image for python on any machine using a template variable,
22
# see more about dockerfile templates here: https://www.balena.io/docs/learn/develop/dockerfile/
3-
FROM balenalib/%%BALENA_MACHINE_NAME%%-python:3-stretch-run
3+
FROM balenalib/%%BALENA_ARCH%%-python:3-run
44

55
# use `install_packages` if you need to install dependencies,
66
# for instance if you need git, just uncomment the line below.
@@ -19,7 +19,7 @@ RUN pip install -r requirements.txt
1919
COPY . ./
2020

2121
# Enable udevd so that plugged dynamic hardware devices show up in our container.
22-
ENV UDEV=1
22+
# ENV UDEV=1
2323

2424
# main.py will run when container starts up on the device
2525
CMD ["python","-u","src/app.py"]

0 commit comments

Comments
 (0)