mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-04 18:52:09 +00:00
Fix build scripts
This commit is contained in:
4 files changed
+13
-5
No files matched your search
+1
-1
@@ -7,7 +7,7 @@ ARG SHA=""
|
||||
WORKDIR /subconverter
|
||||
COPY . /subconverter/
|
||||
RUN set -xe && \
|
||||
apk add --no-cache --virtual .build-tools git g++ build-base linux-headers cmake python3 curl unzip p7zip && \
|
||||
apk add --no-cache --virtual .build-tools git g++ build-base linux-headers cmake python3 curl unzip p7zip bash && \
|
||||
apk add --no-cache --virtual .build-deps curl-dev rapidjson-dev pcre2-dev yaml-cpp-dev lua5.4-dev luajit-dev && \
|
||||
curl -fsSL https://xmake.io/shget.text | bash && \
|
||||
# git clone https://github.com/ftk/quickjspp --depth=1 && \
|
||||
|
||||
@@ -47,8 +47,8 @@ set -xe
|
||||
## shellcheck disable=SC2046
|
||||
#g++ -o base/subconverter $(find CMakeFiles/subconverter.dir/src/ -name "*.o") -static -lpcre2-8 -lyaml-cpp -L/usr/lib64 -lcurl -lmbedtls -lmbedcrypto -lmbedx509 -lz -l:quickjs/libquickjs.a -llibcron -O3 -s
|
||||
|
||||
apk add git g++ build-base linux-headers cmake python3 curl unzip p7zip perl
|
||||
apk add lua5.4-dev luajit-dev zlib-dev curl-dev curl-static
|
||||
apk add git g++ build-base linux-headers cmake python3 curl unzip p7zip perl pkgconfig
|
||||
apk add lua5.4-dev luajit-dev zlib-dev curl-dev curl-static mbedtls-dev mbedtls-static
|
||||
curl -fsSL https://xmake.io/shget.text | bash
|
||||
source "$HOME/.xmake/profile"
|
||||
|
||||
|
||||
Reference in new issue
Block a user