Download release over https

This commit is contained in:
TheSpad 2021-06-18 10:37:31 +01:00
parent f6fa1e7c96
commit c139e729f8
3 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ RUN \
mkdir /piwigo && \
curl -o \
/piwigo/piwigo.zip -L \
"http://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
"https://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
# The max filesize is 2M by default, which is way to small for most photos
sed -ri 's/^upload_max_filesize = .*/upload_max_filesize = 100M/' /etc/php7/php.ini && \
# The max post size is 8M by default, it must be at least max_filesize

View file

@ -43,7 +43,7 @@ RUN \
mkdir /piwigo && \
curl -o \
/piwigo/piwigo.zip -L \
"http://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
"https://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
# The max filesize is 2M by default, which is way to small for most photos
sed -ri 's/^upload_max_filesize = .*/upload_max_filesize = 100M/' /etc/php7/php.ini && \
# The max post size is 8M by default, it must be at least max_filesize

View file

@ -43,7 +43,7 @@ RUN \
mkdir /piwigo && \
curl -o \
/piwigo/piwigo.zip -L \
"http://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
"https://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
# The max filesize is 2M by default, which is way to small for most photos
sed -ri 's/^upload_max_filesize = .*/upload_max_filesize = 100M/' /etc/php7/php.ini && \
# The max post size is 8M by default, it must be at least max_filesize