File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ RUN if [ -z "${RPM_ARCH}" ]; then \
1414
1515RUN apt-get update && \
1616 apt-get install -y curl build-essential tar zstd python3 python3-requests jq gzip xz-utils sudo git gnupg llvm \
17- bison re2c flex autoconf automake autopoint libtool pkg-config && \
17+ bison re2c flex autoconf automake autopoint libtool pkg-config unzip cmake && \
1818 apt-get upgrade -y && \
1919 mkdir -p /usr/lib/bfd-plugins && \
2020 PLUGIN=$(find /usr/lib /usr/lib64 -name LLVMgold.so 2>/dev/null | head -1) && \
@@ -46,6 +46,7 @@ RUN cd /tmp/spc-bootstrap && \
4646 composer install --no-interaction --prefer-dist --no-progress --no-scripts && \
4747 php vendor/bin/spc install-pkg go-xcaddy && \
4848 php vendor/bin/spc install-pkg zig && \
49+ SPC_TARGET=native-native-musl php vendor/bin/spc doctor --auto-fix --debug && \
4950 rm -rf /tmp/spc-bootstrap /root/.composer /root/.cache
5051
5152WORKDIR /build
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ RUN cd /tmp/spc-bootstrap && \
4343 composer install --no-interaction --prefer-dist --no-progress --no-scripts && \
4444 php vendor/bin/spc install-pkg go-xcaddy && \
4545 php vendor/bin/spc install-pkg zig && \
46+ SPC_TARGET=native-native-musl php vendor/bin/spc doctor --auto-fix --debug && \
4647 rm -rf /tmp/spc-bootstrap /root/.composer /root/.cache
4748
4849WORKDIR /build
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ RUN cd /tmp/spc-bootstrap && \
7777 composer install --no-interaction --prefer-dist --no-progress --no-scripts && \
7878 php vendor/bin/spc install-pkg go-xcaddy && \
7979 php vendor/bin/spc install-pkg zig && \
80+ SPC_TARGET=native-native-musl php vendor/bin/spc doctor --auto-fix --debug && \
8081 rm -rf /tmp/spc-bootstrap /root/.composer /root/.cache
8182
8283WORKDIR /build
You can’t perform that action at this time.
0 commit comments