We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1a41c3 commit 73299aaCopy full SHA for 73299aa
artifacts/standalone/Makefile
@@ -0,0 +1,10 @@
1
+build-standalone: build-standalone-linux
2
+
3
+build-standalone-linux:
4
+ mkdir -p ${BUILD_DIR}
5
+ curl -fsSL -o spc.tgz https://dl.static-php.dev/static-php-cli/spc-bin/nightly/spc-linux-x86_64.tar.gz && tar -zxvf spc.tgz && rm spc.tgz
6
+ ./spc download --with-php=8.4 --for-extensions "apcu,phar,curl,dom,fileinfo,filter,intl,mbstring,mysqlnd,openssl,tokenizer,zlib" --prefer-pre-built
7
+ ./spc install-pkg upx
8
+ ./spc build --build-micro "apcu,phar,curl,dom,fileinfo,filter,intl,mbstring,mysqlnd,openssl,tokenizer,zlib" --with-upx-pack
9
+ ./spc micro:combine ${BUILD_DIR}/phpmetrics.phar --output=${BUILD_DIR}/phpmetrics-linux-x86_64
10
0 commit comments