Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanfobel/balena-anvil
Raspberry Pi 4-64bit balena image providing an Anvil runtime
https://github.com/ryanfobel/balena-anvil
Last synced: about 2 months ago
JSON representation
Raspberry Pi 4-64bit balena image providing an Anvil runtime
- Host: GitHub
- URL: https://github.com/ryanfobel/balena-anvil
- Owner: ryanfobel
- License: bsd-3-clause
- Created: 2021-09-10T20:03:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-10T22:11:14.000Z (over 3 years ago)
- Last Synced: 2024-04-21T07:00:34.280Z (9 months ago)
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![build-image](https://github.com/ryanfobel/balena-anvil/actions/workflows/main.yml/badge.svg)](https://github.com/ryanfobel/balena-anvil/actions/workflows/main.yml)
# balena-anvil
This image provides a basic [anvil] server for a [Raspberry Pi].
## Build Instructions
1. Build the docker image using [buildx and QEMU emulation](https://medium.com/@artur.klauser/building-multi-architecture-docker-images-with-buildx-27d80f7e2408):
```sh
> npx dockerfile-template -d BALENA_MACHINE_NAME=raspberrypi4-64 -f Dockerfile.template > Dockerfile.raspberrypi4-64 && \
docker buildx build . --pull --build-arg BALENA_ARCH=aarch64 --platform=linux/arm64 --file Dockerfile.raspberrypi4-64 \
--tag ryanfobel/raspberrypi4-64-anvil --load && rm Dockerfile.raspberrypi4-64
```2. Push the image to docker hub
```sh
> docker push ryanfobel/raspberrypi4-64-anvil
```**Note:** these steps are performed automatically every time a commit or tag is pushed to this repository via a [GitHub Action](https://github.com/ryanfobel/balena-anvil/blob/main/.github/workflows/main.yml).
## Use this as a base image for your own balena `Dockerfile`
Include the following line at the top of your `Dockerfile`:
```
FROM ryanfobel/raspberrypi4-64-anvil
```[Raspberry Pi]: https://www.raspberrypi.org
[balena]: https://www.balena.io
[anvil]: https://anvil.works