juanluisbaptiste / docker-otrs

The unofficial Znuny/OTRS Ticketing System docker image
https://www.juanbaptiste.tech/category/otrs
GNU Lesser General Public License v3.0
173 stars 101 forks source link

Make otrs ftp url be configurable #70

Closed glmars closed 4 years ago

glmars commented 4 years ago

Can we introduce an environment variable for this?

Something like that might be good:

ENV OTRS_DOWNLOAD_MIRROR "http://ftp.otrs.org/pub/otrs"
...
yum install -y ${OTRS_DOWNLOAD_MIRROR}/RPMS/rhel/7/otrs-${OTRS_VERSION}.noarch.rpm

Sometimes it’s more convenient to use a local mirror to load OTRS

juanluisbaptiste commented 4 years ago

PR welcome.

glmars commented 4 years ago

Ok. I going to make some (I should test it before commit, but I newbie in OTRS and I never install it before :smile:)

juanluisbaptiste commented 4 years ago

As it seems you don't have the time to finish this I'm going to close it. I'll reopen if you plan to complete.