Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Docker container #9

Open
ngrash opened this issue Oct 28, 2020 · 5 comments
Open

Updated Docker container #9

ngrash opened this issue Oct 28, 2020 · 5 comments

Comments

@ngrash
Copy link

ngrash commented Oct 28, 2020

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.

@joenio
Copy link

joenio commented Oct 28, 2021

+1

@ananace
Copy link
Owner

ananace commented Oct 29, 2021

Pushed a new version, going to have a look at setting up some automation for it.

@joenio
Copy link

joenio commented Oct 29, 2021

great, thanks @ananace

@DiegoGomez01
Copy link

Thanks @ananace

@joenio
Copy link

joenio commented Oct 29, 2021

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.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants