Skip to content

Commit

Permalink
Use docker instead of balena-engine for raspberry-pi temporarily
Browse files Browse the repository at this point in the history
balena-engine binaries from GitHub releases for armv5/armv6 seem
to have issues that are being worked on.

Signed-off-by: Gergely Imreh <gergely@balena.io>
  • Loading branch information
Gergely Imreh committed May 22, 2019
1 parent 1931679 commit 397ce9c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions runner/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,12 @@ COPY docker-gc.cron ./
COPY docker-gc-exclude* /etc/
COPY start.sh ./

RUN case "%%BALENA_MACHINE_NAME%%" in \
raspberry-pi) \
echo "Install official docker as opposed to balena-engine for this device (workaround)" && \
curl -sSL https://get.docker.com | sh && \
sed -i 's/DOCKER=balena-engine/DOCKER=docker/' docker-gc.cron \
;; \
esac

CMD ["bash", "start.sh"]

0 comments on commit 397ce9c

Please sign in to comment.