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
2021-09-20 22:20:30 +08:00
parent 61b671c13a
commit 94ee747649
5 changed files with 25 additions and 161 deletions

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