Skip to content

Instantly share code, notes, and snippets.

@zwhitchcox
Created January 19, 2022 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zwhitchcox/5bd2c52bc648758778fec26de8541fb3 to your computer and use it in GitHub Desktop.
Save zwhitchcox/5bd2c52bc648758778fec26de8541fb3 to your computer and use it in GitHub Desktop.
device-tree
version: '2'
services:
wifimesh:
image: builder555/wifi-cluster
privileged: true
network_mode: "host"
labels:
io.balena.features.supervisor-api: 1
io.balena.features.dbus: 1
io.balena.features.sysfs: 1
environment:
- SSID=EtcherProAP
- PSK=12233344445
dev:
context: ./dev
network_mode: host
privileged: true
labels:
io.balena.features.kernel-modules: '1'
io.balena.features.dbus: '1'
io.balena.features.sysfs: '1'
io.balena.features.procfs: '1'
io.balena.features.supervisor-api: '1'
io.balena.features.balena-api: '1'
io.balena.features.balena-socket: '1'
io.balena.features.firmware: '1'
io.balena.features.journal-logs: '1'
io.balena.update.strategy: download-then-kill
io.balena.update.handover-timeout: ''
FROM ubuntu
RUN apt-get update
RUN apt-get install -yqq apt-utils
RUN apt-get install -yqq vim
# # device tree
RUN apt-get install -yqq i2c-tools
RUN apt-get install -yqq device-tree-compiler
# dtc -I fs /sys/firmware/devicetree/base > cur.dts
# network
RUN apt install -yqq screen
RUN apt install -yqq iproute2
CMD tail -f /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment