GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mcandre/raspberry-pi-os: Docker base image for Raspberry Pi OS

BranchesTags
Open more actions menu

Latest commit

 

History

40 Commits
40 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.dockerignore
.dockerignore
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.rubberstamp
.rubberstamp
 
 
AI-DECLARATION.md
AI-DECLARATION.md
 
 
DEVELOPMENT.md
DEVELOPMENT.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
docker-bake.hcl
docker-bake.hcl
 
 
makefile
makefile
 
 

Repository files navigation

raspberry-pi-os: Docker base image for Raspberry Pi OS

Docker Pulls CI/CD License AI

For Raspberry Pi OS, AKA Raspbian AKA RPi.

SUMMARY

Raspberry Pi supports embedded development.

Docker supports cloud development.

¿Por qué no los dos?

EXAMPLE

% docker run --rm --platform linux/arm64 n4jm4/raspberry-pi-os raspinfo
No GPIO chips found

Docker containers don't normally feature embedded hardware like GPIO pins! But we can still test a lot of functionality, such as ARM compatibility for general applications.

% docker run --rm --platform linux/arm64 -it n4jm4/raspberry-pi-os bash

# apt update
# apt install -y file gcc

# printf "#include <stdio.h>\nint main(){ printf(\"Hello World\\\n\"); return 0; }\n" >hello.c

# cat hello.c
#include <stdio.h>
int main(){ printf("Hello World\n"); return 0; }

# gcc -o hello hello.c

# file hello
hello: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=b4b84ec877bfaea87e511fda2f0dca6f1effd947, for GNU/Linux 3.7.0, not stripped

# ./hello
Hello World

DOWNLOAD

docker pull n4jm4/raspberry-pi-os

For details on building from source, see DEVELOPMENT.

Images

Raspberry Pi OS identifies versions by Debian base distribution.

Distribution Tags
trixie trixie, latest
bookworm bookworm

RUNTIME REQUIREMENTS

  • Docker

Recommended

  • a UNIX-like environment (e.g. WSL)

RESOURCES

Prior art, personal plugs, and tools for developing portable applications.

  • Raspberry Pi for Dummies, an approachable book for people who like to tinker
  • raspberrypi-os-docker, an earlier Docker image
  • mcandre/rockhopper, a multiplatform package generator

🍇

About

Docker base image for Raspberry Pi OS

Resources

Readme
License
Activity

Stars

4 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.