uyse latest version of Grav and removed checksum check

This commit is contained in:
Andy Miller 2020-03-04 11:14:20 -07:00
parent 00b969a49d
commit 4e688de722
No known key found for this signature in database
GPG Key ID: 06C5EE41E242681B
1 changed files with 11 additions and 13 deletions

View File

@ -48,14 +48,12 @@ RUN pecl install apcu \
RUN chown www-data:www-data /var/www
USER www-data
# Define Grav version and expected SHA1 signature
ENV GRAV_VERSION 1.6.19
ENV GRAV_SHA1 231e6789e9575adccd6044aa0d0c72b8c2603a96
# Define Grav specifi version of Grav or use latest stable
ENV GRAV_VERSION latest
# Install grav
WORKDIR /var/www
RUN curl -o grav-admin.zip -SL https://getgrav.org/download/core/grav-admin/${GRAV_VERSION} && \
echo "$GRAV_SHA1 grav-admin.zip" | sha1sum -c - && \
unzip grav-admin.zip && \
mv -T /var/www/grav-admin /var/www/html && \
rm grav-admin.zip