Closed glmars closed 4 years ago
Please, do not merge. Need some more changes.
Ready for merge now! There were some problems with defaults for OTRS_DOWNLOAD_MIRROR
.
Hi,
This is not the way to do it, all functionality must be contained within the container image and be able to set it up at runtime, not at compile time as you are doing.
Please take a look at run.sh and functions.sh to see how other variables are handled, in bash.
Sorry, you are right, this is not a feature that needs to be enable at container runtime because OTRS download is only done when building the image.
I'll take a closer look at the diff to see if there are any other observations.
Hi,
Please see this comment done on the diff, and add the respective documentation about this new feature to the README file.
Squash all changes into a one single commit and we are ready.
Also when I pulled your PR it also for some reason pulled the CHANGELOG commit that is already merged, so make sure it doesn't part of this PR.
Sorry, you are right, this is not a feature that needs to be enable at container runtime because OTRS download is only done when building the image.
Yes, I am worried about creating an image. I can’t create the otrs image in Russia now because the IP address (178.63.12.4) of ftp.otrs.org is blocked in our country by mistake 😄
But I also checked the file check_otrs_latest_version.sh and found some lines from ftp.otrs.org. As I understand it, this is a managing script, but can also be changed to a configurable version if necessary (by separate PR). :wink:
But I also checked the file check_otrs_latest_version.sh and found some lines from ftp.otrs.org. As I understand it, this is a managing script, but can also be changed to a configurable version if necessary (by separate PR). wink
That script is a work in progress to automate image rebuild upon new OTRS release, but its currently not finished (testing it) so don't bother about it for now.
PS: I edited your previous comment by mistake when trying to quote it, sorry about that.
Hi,
Are you going to finish this PR or should I go ahead and close it ?
Hi, I'm sorry, I'm a little busy in the last days, but I'm going to add some commits to this PR ;)
As it seems you don't have the time to finish this I will close it. Feel free to reopen it if you have the time to work on it.
Added new env variable OTRS_DOWNLOAD_MIRROR to support configuring local mirror to load OTRS
fixes #70