Skip to content

Commit

Permalink
Added tagged version to all Drupal sites as comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuechner committed Sep 10, 2020
1 parent 18ae4c3 commit 3db6252
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ RUN docker-php-ext-install gd
COPY / /tmp/cdv
WORKDIR /tmp/cdv
RUN composer install --no-dev
# Add git tag version to PHP file
RUN { \
echo -e "<\x21-- $(git describe --tags) -->"; \
} >> /tmp/cdv/web/themes/custom/relaunch2018/templates/html.html.twig

# from https://github.com/docker-library/drupal/blob/master/8.7/apache/Dockerfile
FROM php:7.4-apache
Expand Down

0 comments on commit 3db6252

Please sign in to comment.