hard code to latest version until we have a better endpoint

This commit is contained in:
thelamer 2019-04-11 11:26:53 -07:00
parent 06b7ffd049
commit e43b29be72
3 changed files with 3 additions and 6 deletions

View File

@ -89,8 +89,7 @@ RUN \
echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php7/php-fpm.conf && \
echo "**** set version tag ****" && \
if [ -z ${NEXTCLOUD_RELEASE+x} ]; then \
NEXTCLOUD_RELEASE=$(curl -s https://download.nextcloud.com/server/installer/setup-nextcloud.php \
| awk -F \' '/NC_VERSION/{print $4;exit}'); \
NEXTCLOUD_RELEASE=$(echo 15.0.7); \
fi && \
echo ${NEXTCLOUD_RELEASE} > /version.txt && \
echo "**** cleanup ****" && \

View File

@ -89,8 +89,7 @@ RUN \
echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php7/php-fpm.conf && \
echo "**** set version tag ****" && \
if [ -z ${NEXTCLOUD_RELEASE+x} ]; then \
NEXTCLOUD_RELEASE=$(curl -s https://download.nextcloud.com/server/installer/setup-nextcloud.php \
| awk -F \' '/NC_VERSION/{print $4;exit}'); \
NEXTCLOUD_RELEASE=$(echo 15.0.7); \
fi && \
echo ${NEXTCLOUD_RELEASE} > /version.txt && \
echo "**** cleanup ****" && \

View File

@ -89,8 +89,7 @@ RUN \
echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php7/php-fpm.conf && \
echo "**** set version tag ****" && \
if [ -z ${NEXTCLOUD_RELEASE+x} ]; then \
NEXTCLOUD_RELEASE=$(curl -s https://download.nextcloud.com/server/installer/setup-nextcloud.php \
| awk -F \' '/NC_VERSION/{print $4;exit}'); \
NEXTCLOUD_RELEASE=$(echo 15.0.7); \
fi && \
echo ${NEXTCLOUD_RELEASE} > /version.txt && \
echo "**** cleanup ****" && \