Fix Gist upload and other web operation may fail to post data

Remove unused files in Docker images.
Cleanup codes.
This commit is contained in:
Tindy X committed 2021-09-20 22:21:12 +08:00
1 parent 61b671c13a
commit 94ee747649
5 files changed
+25 -161

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ RUN apk add --no-cache --virtual .build-tools git g++ build-base linux-headers c
mv subconverter /usr/bin && \
mv base ../ && \
cd .. && \
rm -rf subconverter quickjspp libcron toml11 && \
rm -rf subconverter quickjspp libcron toml11 /usr/lib/lib*.a /usr/include/* /usr/local/include/lib*.a /usr/local/include/* && \
apk add --no-cache --virtual subconverter-deps pcre2 libcurl yaml-cpp libevent && \
apk del .build-tools .build-deps