Jump to content

Creating an Armbian Docker image for armhf (Orange Pi Zero)


Recommended Posts

Posted

Hi there,


I would like to have a Docker container accessing the GPIO on the Orange Pi Zero.
For the time being, I'm using OPi.GPIO as a library to make a LED blink, but will use Java-Periphery and SSD1306 later on.
As for now, the LED is blinking, all is fine.
What I would like to do now it to create a Docker image from Armbian doing the same thing, so I was thinking of starting the image from scratch with Armbian root directory.
How could I find/make a minimal Armbian root directory to build my Docker image upon?
Thanks.

Posted

Armbian is little more than a stock Debian/Ubuntu installation with the aim of providing recent kernel, bootloaders, and some quality of life userspace customizations.

 

None of those seem needed for a docker image. Maybe start with the upstream image of whichever version you're using for your Orange Pi?

 

If you do need certain things from Armbian, you can always copy the apt configuration from /etc/apt/sources.list or sources.list.d into your Dockerfile and go from there.

 

 

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines