Skip to content

Commit

Permalink
Switch to correct git tagged version
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Dec 9, 2022
1 parent 3ddc710 commit e52c14b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,15 @@ RUN set -eux; \
# gpgconf --kill all; \
# rm -rf "$GNUPGHOME"; \
# fi; \
git clone -b PHP-8.2 --single-branch https://github.com/php/php-src php; \
git clone https://github.com/php/php-src php; \
cd php; \
# git checkout "$( \
# git for-each-ref --format='%(refname)' refs/tags \
# | grep -E 'refs/tags/php-8\.1[.0-9]+$' \
# | sed 's|.*tags/||g' \
# | sort -V \
# | tail -1 \
# )"; \
git checkout "$( \
git for-each-ref --format='%(refname)' refs/tags \
| grep -E 'refs/tags/php-8\.2[.0-9]+$' \
| sed 's|.*tags/||g' \
| sort -V \
| tail -1 \
)"; \
./buildconf --force; \
rm -rf .git; \
cd /usr/src; \
Expand Down

0 comments on commit e52c14b

Please sign in to comment.