Add functionality to upload images to S3
This change adds the following functionality:
- Add the motion detection image to a S3 bucket.
- Pass a presigned URL linking to the image in the JSON payload of the
MQTT event message.
- Add the possibility of customizing whether images are uploaded to a S3
bucket or not.
Change-Id: Id82401839e92dbc62f3bbd1e7e7f0adeeb5718a6
diff --git a/cmd/hichipbridge/Dockerfile b/cmd/hichipbridge/Dockerfile
index f303928..403ae14 100644
--- a/cmd/hichipbridge/Dockerfile
+++ b/cmd/hichipbridge/Dockerfile
@@ -17,6 +17,7 @@
RUN go install github.com/eclipse/paho.mqtt.golang
RUN go install github.com/flashmob/go-guerrilla
RUN go install github.com/go-sql-driver/mysql
+RUN go install github.com/minio/minio-go/v7
RUN go install github.com/sirupsen/logrus
RUN go install github.com/spf13/cobra
RUN go install gomodules.avm99963.com/forks/parsemail