Sign inSign up

anthonyharrison/pi

By anthonyharrison

Updated about 7 years ago

An ubuntu:bionic image for Raspberry Pi B (i.e. arm32v7)

Image
0

10K+

anthonyharrison/pi repository overview

Created from the following Dockerfile:

FROM arm32v7/ubuntu:bionic as builder

WORKDIR /app

RUN     apt-get update \
    && apt-get upgrade -y \
    && apt-get install -y \
    git \
    wget \
    nano \

This gives you a stock ubuntu bionic image that can be created into a container with git, to clone code from, wget, to retrieve anything from the web, and the nano text editor so that you can create your own scripts and other files.

You could, for example, create a container as follows:

docker run -it --name yourcontainername anthonyharrison/pi:0.1

and that will run in command line interactive mode so that you can look around.

Stop the container by typing exit at the command prompt or going docker stop yourcontainername from another cli. Start the container in interactive mode by going docker start -i yourcontainername

If, once you have installed your own software in this, you can create an image of it by going docker commit -m "A message about what is in the container " yourcontainername

You can then tag it and push it to your own repository.

Or instead of building it from the command line, you could use it as the base image in a Dockerfile.

We used it as the base image of anthonyharrison/pi-dotnet and if you look at it you will see how these processes occur.

Tag summary

Content type

Image

Digest

Size

69 MB

Last updated

about 7 years ago

docker pull anthonyharrison/pi