Ousret / hermes

Automates programmables à réaction aux échanges électroniques depuis une boîte IMAP4
Other
15 stars 6 forks source link

QUESTION - Basic Docker image #44

Open d4-maertzdorf opened 4 years ago

d4-maertzdorf commented 4 years ago

QUESTION - Basic Docker image

Is there a basic docker image available? e.g an image I can just pull from docker hub that will start after making some config changes? (for smtp e-mail), and setting the language preference.

dutch2005 commented 4 years ago

Seems I was logged in with wrong account.

Seems there is a dependency issue (using old Flask-babel 1.0, will stop any docker build creation).

It'll install version 2.0 (latest version see : https://pypi.org/project/Flask-Babel/)

Installer still uses 1.0 as a "requirement".

Ousret commented 4 years ago

Hi @d4-maertzdorf

Working on it. Configuration files are not what is ideal indeed, will switch to env variables.

dutch2005 commented 4 years ago

Good idea

https://www.howtoforge.com/tutorial/how-to-create-docker-images-with-dockerfile/

Covers some of this as well, its were I got some information from wich I placed in the most recent COMMIT.

dutch2005 commented 4 years ago

docker image can be made

e.g.

Will make a new issue as it'll flunk out once you try and run the docker image

steps for making your own build from the dockerfile in this repo:

https://codefresh.io/docker-tutorial/build-docker-image-dockerfiles/