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

Docker hub image #1875

Open
devdems opened this issue Mar 29, 2024 · 10 comments
Open

Docker hub image #1875

devdems opened this issue Mar 29, 2024 · 10 comments

Comments

@devdems
Copy link

devdems commented Mar 29, 2024

How is docker image on hub being built and where https://hub.docker.com/r/openenergymonitor/emoncms ?

@alexandrecuer
Copy link
Contributor

@devdems
Copy link
Author

devdems commented Mar 31, 2024

I'm asking for the official one.

@alexandrecuer
Copy link
Contributor

There is no automated build for the "official" one

@devdems
Copy link
Author

devdems commented Mar 31, 2024

Can we create one with github actions so we can keep the current official one up to date?

@alexandrecuer
Copy link
Contributor

Well, if you read the doc, the "official" image is experimental, not frequently updated. Currently, it is only for amd64 architecture, it is a not a full emoncms installation, it uses supervisord which is not the best option to dockerise a multi services application like emoncms.

That's why there is a suggested alternative using alpine linux and the s6 process supervision suite through s6 overlay which is more suitable to the emoncms architecture

@devdems
Copy link
Author

devdems commented Apr 4, 2024

Even so. This official docker was built with some dockerfile. Let's put this dockerfile here, add github actions so it's regulary pushed to the hub even if it's not 100% to all docker standards. We can then fix it step by step to get it perfect.

The current image that is there is working just fine btw.

@alexandrecuer
Copy link
Contributor

Of course you can :-) Pull requests are welcome

See https://github.com/emoncms/emoncms-docker

@devdems
Copy link
Author

devdems commented Apr 7, 2024

I would be glad to help, but i think it would be best to start with the dockefile that was used to create the current image that is on the hub. That is why i was asking for it in the fust post.

@alexandrecuer
Copy link
Contributor

@glynhudson : any ideas why the image on the hub was not produced with the dockerfile on the repo https://github.com/emoncms/emoncms-docker ?

@TrystanLea
Copy link
Member

Pretty sure the image on docker hub is the latest, latest commit's on the repo align with the date of latest on docker hub (9 months ago)

image

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

3 participants