Updated Docker container
Could you kindly update ananace/grafana-matrix on Docker Hub? It was updated 2 years ago while the latest commit in this repo was 21 days ago.
+1
Pushed a new version, going to have a look at setting up some automation for it.
great, thanks @ananace
Thanks @ananace
The latest docker image is crashing with docker version 19.03.12 with the message below, I am using docker-compose to bring the container up.
Recreating my_element-alerts ... done
Attaching to my_element-alerts
my_element-alerts | `/root` is not writable.
my_element-alerts | Bundler will use `/tmp/bundler20211029-1-ut6rzs1' as your home directory temporarily.
my_element-alerts | bundler: command not found: rackup
my_element-alerts | Install missing gem executables with `bundle install`
Accordingly to the thread on link below it is a issue between older docker version before 20.10 + ruby alpine 3.0.
- https://issueexplorer.com/issue/docker-library/ruby/351
I changed the alpine version to 3.13 and it solves the error, see the diff below:
diff --git a/Dockerfile b/Dockerfile
index 3184eb6..6e12766 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM ruby:3.0-alpine
+FROM ruby:alpine3.13
#RUN apt-get update -qq && apt-get install -y build-essential
Maybe this breaks other contexts, but for my environment it fixed the errors /root is not writable.
By the way, thanks @ananace for this great tool!
--
Co-Authored-By: @DiegoGomez01