Skip to content

Commit aa17917

Browse files
committed
chore(build): remove intermediate php binaries after build
1 parent 3ef7c6c commit aa17917

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

build-alpine

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,8 @@ fix_static_linking
8585

8686
make LDFLAGS=$MAKE_LDFLAGS -j8
8787
make install-cli
88+
89+
# Remove php84 that was used for building before installing php
90+
apk del php84 php84-dev
91+
rm -f /usr/bin/php /usr/bin/php-config /usr/bin/phpize
92+

build-linux

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,7 @@ ENABLE_STATIC=yes
7070

7171
make -j8
7272
make install-cli
73+
74+
# Remove php84 that was used for building before installing php
75+
sudo apt-get remove -y php8.4-dev php8.4-cli php8.4
76+

0 commit comments

Comments
 (0)