Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 854 Bytes

Build-Docker.md

File metadata and controls

27 lines (19 loc) · 854 Bytes

Build Docker image:

  1. Check out edgex-device-rpi repo:
git clone https://github.com/mhall119/edgex-device-rpi
  1. Install docker tools from upstream (see instructions here)

    You may also need to add your user to the docker group:

    sudo usermod -a -G docker $USER
    newgrp docker
    
  2. Build a docker image by using the following command

cd edgex-device-rpi
docker build . -t edgex-device-rpi -f ./scripts/Dockerfile.alpine-3.8

This command will build the edgex-device-rpi release image. By default, the configuration and profile file used by the service are available in res folder, but you can override that by passing in the ./examples/<ExampleProject> path you want to use. See the Example Projects below for more.