Files
intotheeast-com/Dockerfile
m038andClaude Opus 4.8 fec6a475a2 deploy: bump Grav to 2.0.7 across build image + env pins
Local Docker image was still baked at 2.0.4 while test and prod had
self-upgraded to 2.0.7. Bump the Dockerfile release zip to 2.0.7 and
align the GRAV_VERSION pins so a fresh remote-install lands on 2.0.7
directly instead of installing an older base and needing a self-upgrade.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Np4cMQLF77i664CAQXySzU
2026-07-05 11:34:21 +02:00

19 lines
979 B
Docker

FROM getgrav/grav
RUN curl -sL 'https://github.com/getgrav/grav/releases/download/2.0.7/grav-admin-v2.0.7.zip' \
-o /tmp/grav-admin.zip \
&& unzip -q /tmp/grav-admin.zip -d /tmp \
&& cp -rf /tmp/grav-admin/assets /var/www/html/ \
&& cp -rf /tmp/grav-admin/bin /var/www/html/ \
&& cp -rf /tmp/grav-admin/system /var/www/html/ \
&& cp -rf /tmp/grav-admin/vendor /var/www/html/ \
&& cp -rf /tmp/grav-admin/webserver-configs /var/www/html/ \
&& cp -f /tmp/grav-admin/index.php /var/www/html/ \
&& cp -f /tmp/grav-admin/composer.json /var/www/html/ \
&& cp -f /tmp/grav-admin/composer.lock /var/www/html/ \
&& cp -f /tmp/grav-admin/CHANGELOG.md /var/www/html/ \
&& cp -f /tmp/grav-admin/LICENSE.txt /var/www/html/ \
&& cp -f /tmp/grav-admin/webserver-configs/htaccess.txt /var/www/html/.htaccess \
&& rm -rf /tmp/grav-admin /tmp/grav-admin.zip \
&& mkdir -p /var/www/html/logs /var/www/html/images /var/www/html/backup