We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a2c3910 + baf3094 commit 67eb6aaCopy full SHA for 67eb6aa
Dockerfile.template
@@ -1,6 +1,6 @@
1
# base-image for python on any machine using a template variable,
2
# see more about dockerfile templates here: https://www.balena.io/docs/learn/develop/dockerfile/
3
-FROM balenalib/%%BALENA_MACHINE_NAME%%-python:3-stretch-run
+FROM balenalib/%%BALENA_ARCH%%-python:3-run
4
5
# use `install_packages` if you need to install dependencies,
6
# for instance if you need git, just uncomment the line below.
@@ -19,7 +19,7 @@ RUN pip install -r requirements.txt
19
COPY . ./
20
21
# Enable udevd so that plugged dynamic hardware devices show up in our container.
22
-ENV UDEV=1
+# ENV UDEV=1
23
24
# main.py will run when container starts up on the device
25
CMD ["python","-u","src/app.py"]
0 commit comments