summary refs log tree commit diff
path: root/.config/yamlfs/balena.yml
diff options
context:
space:
mode:
Diffstat (limited to '.config/yamlfs/balena.yml')
-rw-r--r--.config/yamlfs/balena.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/.config/yamlfs/balena.yml b/.config/yamlfs/balena.yml
index b31766f..73c39a8 100644
--- a/.config/yamlfs/balena.yml
+++ b/.config/yamlfs/balena.yml
@@ -2,17 +2,19 @@ docker-compose.yml: |-
   version: '2.1'
 
   services:
-    build: ./container
+    build: .
 
   volumes:
     ctr-data:
 
-container:
-  Dockerfile.template: |-
-    # vim: ft=dockerfile
-    FROM balenalib/%%BALENA_MACHINE_NAME%%-alpine:run
+Dockerfile.template: |-
+  # vim: ft=dockerfile
+  FROM balenalib/%%BALENA_MACHINE_NAME%%-alpine:run
 
-    # RUN apk add --no-cache
+  COPY ./start.sh /usr/local/bin/
+  CMD [ "start.sh" ]
 
-    # COPY ./start.sh /usr/local/bin/
-    # CMD [ "start.sh" ]
+start.sh: |-
+  #!/bin/sh
+  set -e
+  while true; do echo "nothing" && sleep 20s; done