gost / server

GOST - Go implementation of OGC SensorThings API
MIT License
61 stars 19 forks source link

Create Docker image for Raspberry Pi #77

Closed bertt closed 7 years ago

bertt commented 7 years ago

proposal rpi images names: geodan/rpi-gost and geodan/rpi-gost-db ? base image: resin/rpi-raspbian ?

bertt commented 7 years ago

postgis from https://store.docker.com/community/images/tobi312/rpi-postgresql-postgis (153 pulls) ?

tebben commented 7 years ago

geodan/gost-rpi + geodan/gost-db-rpi more in line with naming of the repositories. Base image: armhf/alpine

bertt commented 7 years ago

golang rpi image: https://store.docker.com/community/images/hypriot/rpi-golang (2.6K pulls) ?

bertt commented 7 years ago

i see both conventions used {name}-rpi and rpi-{name}

bertt commented 7 years ago

mosquitto rpi image: https://store.docker.com/community/images/pascaldevink/rpi-mosquitto (10K+ Pulls) ?

bertt commented 7 years ago

and we need a new docker-compose.yml file (rpi-docker-compose.yml ?)

bertt commented 7 years ago

tested some docker rpi images

Step 8 : RUN go get github.com/eclipse/paho.mqtt.golang ---> Running in 62e985662131 package golang.org/x/net/websocket: unrecognized import path "golang.org/x/net/websocket" The command '/bin/sh -c go get github.com/eclipse/paho.mqtt.golang' returned a non-zero code: 1

bertt commented 7 years ago

getting there? https://store.docker.com/community/images/geodan/rpi-gost

bertt commented 7 years ago

updated db image, schema is now created https://store.docker.com/community/images/geodan/rpi-gost-db

bertt commented 7 years ago

added docker-compose-rpi.yml https://github.com/Geodan/gost/blob/master/src/docker-compose-rpi.yml

bertt commented 7 years ago

tested, works!

bertt commented 7 years ago

closing for now

tebben commented 7 years ago

Test GOST on RaspberryPi 2B - Raspbian Jessie Lite using the docker-compose-rpi

Get Raspbian Jessie Lite

Prepare RPI to access it remotely

Install docker

Install docker-compose

Get GOST up and running

Verify installation