All Projects → hypriot → Image Builder Rpi

hypriot / Image Builder Rpi

Licence: mit
SD card image for Raspberry Pi with Docker: HypriotOS

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Image Builder Rpi

Windows Docker Machine
Work with Windows containers and LCOW on Mac/Linux/Windows
Stars: ✭ 667 (-31.45%)
Mutual labels:  vagrant, docker-machine
Docker Windows Box
Various Vagrant envs with Windows 2019/10 and Docker, Swarm mode, LCOW, WSL2, ...
Stars: ✭ 487 (-49.95%)
Mutual labels:  vagrant, docker-machine
Magma
Platform for building access networks and modular network services
Stars: ✭ 913 (-6.17%)
Mutual labels:  vagrant
Iobroker.deconz
Connects to deConz software developed by dresden-elektronik. This software aims to be a universal ZigBee Gateway solution, using hardware from dresden-elektronik the ConBee USB stick and RaspBee a modul for the Raspberry Pi.
Stars: ✭ 33 (-96.61%)
Mutual labels:  raspberry-pi
Androidthings Drivers
Android Things open source peripheral drivers
Stars: ✭ 30 (-96.92%)
Mutual labels:  raspberry-pi
Pi romulus
Retropie ROM downloader - for on your Retropie
Stars: ✭ 28 (-97.12%)
Mutual labels:  raspberry-pi
Pi Builder
Extensible tool to build Arch Linux ARM for Raspberry Pi on x86_64 host using Docker
Stars: ✭ 31 (-96.81%)
Mutual labels:  raspberry-pi
Gassistpi
Google Assistant for Single Board Computers
Stars: ✭ 911 (-6.37%)
Mutual labels:  raspberry-pi
Jenkins Vagrant
Vagrant Environment for a Jenkins Continuous Integration server
Stars: ✭ 34 (-96.51%)
Mutual labels:  vagrant
Vagrant Caasp
Vagrant deployment of SUSE CaaS Platform (Kubernetes) v4.2
Stars: ✭ 30 (-96.92%)
Mutual labels:  vagrant
Openswiftui
WIP — OpenSwiftUI is an OpenSource implementation of Apple's SwiftUI DSL.
Stars: ✭ 967 (-0.62%)
Mutual labels:  raspberry-pi
Cmio
Custom Raspberry Pi Compute Module IO Board
Stars: ✭ 29 (-97.02%)
Mutual labels:  raspberry-pi
Navidrome
🎧☁️ Modern Music Server and Streamer compatible with Subsonic/Airsonic
Stars: ✭ 932 (-4.21%)
Mutual labels:  raspberry-pi
Kotihome
Home automation system based on Arduino with sensors, Raspberry Pi, Node.js and React
Stars: ✭ 32 (-96.71%)
Mutual labels:  raspberry-pi
Pi Hole
A black hole for Internet advertisements
Stars: ✭ 34,076 (+3402.16%)
Mutual labels:  raspberry-pi
Pxe Vagrant
a Preboot Execution Environment (PXE) gateway
Stars: ✭ 33 (-96.61%)
Mutual labels:  vagrant
Picamera
Capture the stream of Images for a Raspberry Pi Camera in GoLang
Stars: ✭ 21 (-97.84%)
Mutual labels:  raspberry-pi
Privatekeyvault
Make Instructions: Airgapped raspberry pi computer for working with blockchains featuring LUKS full disk encryption and using qr-codes to pass encrypted files and offline transaction instructions across the airgap.
Stars: ✭ 29 (-97.02%)
Mutual labels:  raspberry-pi
Siem From Scratch
SIEM-From-Scratch is a drop-in ELK based SIEM component for your Vagrant infosec lab
Stars: ✭ 31 (-96.81%)
Mutual labels:  vagrant
Cimonitor
Displays CI statuses on a dashboard and triggers fun modules representing the status!
Stars: ✭ 34 (-96.51%)
Mutual labels:  raspberry-pi

image-builder-rpi

Join the chat at https://gitter.im/hypriot/talk Build Status Latest Release All Releases

This repo builds the SD card image with HypriotOS for the Raspberry Pi 1, 2, 3, 4 and Zero. You can find released versions of the SD card image here in the GitHub releases page. To build this SD card image we have to

  • take the files for the root filesystem from os-rootfs
  • take the empty raw filesystem from image-builder-raw with the two partitions
  • add Hypriot's Debian repos
  • install the Raspberry Pi kernel from rpi-kernel
  • install Docker tools Docker Engine, Docker Compose and Docker Machine

Here is an example how all the GitHub repos play together:

Architecture

Contributing

You can contribute to this repo by forking it and sending us pull requests. Feedback is always welcome!

You can build the SD card image locally with Vagrant.

Setting up build environment

Make sure you have vagrant installed. Then run the following command to create the Vagrant box and use the Vagrant Docker daemon. The Vagrant box is needed to run guestfish inside. Use export VAGRANT_DEFAULT_PROVIDER=virtualbox to strictly create a VirtualBox VM.

Start vagrant box

vagrant up

Export docker host

export DOCKER_HOST=tcp://127.0.0.1:2375

Check you are using docker from inside vagrant

docker info | grep 'Operating System'
Operating System: Ubuntu 16.04.3 LTS

Build the SD card image

From here you can just make the SD card image. The output will be written and compressed to hypriotos-rpi-dirty.img.zip.

make sd-image

Run Serverspec tests

To test the compressed SD card image with Serverspec just run the following command. It will expand the SD card image in a Docker container and run the Serverspec tests in builder/test/ folder against it.

make test

Run integration tests

Now flash the SD card image and boot up a Raspberry Pi. Run the Serverspec integration tests in builder/test-integration/ folder against your Raspberry Pi. Set the environment variable BOARD to the IP address or host name of your running Raspberry Pi.

flash hypriotos-rpi-dirty.img.zip
BOARD=black-pearl.local make test-integration

This test works with any Docker Machine, so you do not need to create the Vagrant box.

Deployment

For maintainers of this project you can release a new version and deploy the SD card image to GitHub releases with

TAG=v0.0.1 make tag

After that open the GitHub release of this version and fill it with relevant changes and links to resolved issues.

Buy us a beer!

This FLOSS software is funded by donations only. Please support us to maintain and further improve it!

Donate using Liberapay

License

MIT - see the LICENSE file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].