unclev / prosody-docker-extended

Docker image building system for the Prosody XMPP server with Community Modules and telnet console
MIT License
25 stars 9 forks source link

check_prosody_update script does not recognize MINOR version change #11

Open unclev opened 5 years ago

unclev commented 5 years ago

Executing check_prosody_update script finds no new version:

$ docker run --rm --user root unclev/prosody-docker-extended:stable check_prosody_update
++ id -u
++ id -u prosody
+ [[ 0 -eq 1000 ]]
+ exec check_prosody_update

based on the result of the above check it does not initiate rebuilding the image, - the prosody version remains outdated

$ docker run --rm --user root unclev/prosody-docker-extended:stable prosody | head -1                                                                                                                                                                                           
++ id -u
++ id -u prosody
+ [[ 0 -eq 1000 ]]
+ exec prosody
general             info        Hello and welcome to Prosody version 0.10.2
write /dev/stdout: broken pipe

whereas the actual stable version is newer:

$ docker run --rm --user root unclev/prosody-docker-extended:stable bash -c "apt update -qq && apt search prosody"                                                                                                                                                              
...
Full Text Search...
prosody/unknown 0.11.2-1~xenial1 amd64 [upgradable from: 0.10.2-1~xenial1]
  Lightweight Jabber/XMPP server
...
unclev commented 5 years ago

With Use "apt" to check prosody update

it should be working now.

This issue waits for upgrade from 0.11 to 0.12. to be finally tested. 😄.