Public Repository

Last pushed: 8 months ago
Short Description
A hello world docker image for raspberry pi
Full Description

Dockerfile

FROM scratch
ADD hello-world /
CMD [ "/hello-world" ]

hello-world.cpp

#include <iostream>

int main()
{
  std::cout << "Hello, world" << std::endl;
  return 0;
}

Build Commands

g++ -static hello-world.cpp -o hello-world
strip ./hello-world
docker build --tag gfxiang/rpi-hello-world .
Docker Pull Command
Owner
gfxiang