diff --git a/Dockerfile b/Dockerfile index 38c49c3..ab8f4a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -128,9 +128,11 @@ RUN \ install -Dm644 /tmp/patches/xcache.ini /etc/php5/conf.d/xcache.ini && \ echo "**** install projectsend ****" && \ rm /var/www/localhost/htdocs/index.html && \ + PROJS_TAG=$(curl -sX GET "https://api.github.com/repos/projectsend/projectsend/releases/latest" \ + | awk '/tag_name/{print $4;exit}' FS='[""]') && \ curl -o \ /tmp/ProjectSend.tar.gz -L \ - "https://codeload.github.com/ignacionelson/ProjectSend/tar.gz/r1053" && \ + "https://github.com/projectsend/projectsend/archive/$PROJS_TAG.tar.gz" && \ tar -zxf \ /tmp/ProjectSend.tar.gz --strip-components=1 -C /var/www/localhost/htdocs/ && \ mv /var/www/localhost/htdocs/upload /defaults/ && \ diff --git a/README.md b/README.md index 17dc2f5..5ff01b3 100644 --- a/README.md +++ b/README.md @@ -84,5 +84,6 @@ More info at [ProjectSend][appurl]. ## Versions ++ **11.06.17:** Fetch version from github. + **09.12.17:** Rebase to alpine 3.7. + **13.06.17:** Initial Release.