Skip to content

Commit e52c14b

Browse files
committed
Switch to correct git tagged version
1 parent 3ddc710 commit e52c14b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,15 @@ RUN set -eux; \
9292
# gpgconf --kill all; \
9393
# rm -rf "$GNUPGHOME"; \
9494
# fi; \
95-
git clone -b PHP-8.2 --single-branch https://github.com/php/php-src php; \
95+
git clone https://github.com/php/php-src php; \
9696
cd php; \
97-
# git checkout "$( \
98-
# git for-each-ref --format='%(refname)' refs/tags \
99-
# | grep -E 'refs/tags/php-8\.1[.0-9]+$' \
100-
# | sed 's|.*tags/||g' \
101-
# | sort -V \
102-
# | tail -1 \
103-
# )"; \
97+
git checkout "$( \
98+
git for-each-ref --format='%(refname)' refs/tags \
99+
| grep -E 'refs/tags/php-8\.2[.0-9]+$' \
100+
| sed 's|.*tags/||g' \
101+
| sort -V \
102+
| tail -1 \
103+
)"; \
104104
./buildconf --force; \
105105
rm -rf .git; \
106106
cd /usr/src; \

0 commit comments

Comments
 (0)