From 80a3182dabd98a601326d8829e601ab89b113b74 Mon Sep 17 00:00:00 2001 From: dnomd343 Date: Sun, 4 Sep 2022 19:00:03 +0800 Subject: [PATCH] build: remove glib dependence --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b616db3..8c3adaa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -104,7 +104,7 @@ RUN sed -i 's/MutableMapping/abc.MutableMapping/' ./shadowsocks/lru_cache.py && # Compile shadowsocks-bootstrap FROM ${ALPINE_IMG} AS ss-bootstrap -RUN apk add cmake git glib-dev +RUN apk add cmake git COPY --from=build-base /apk/ /apk/ RUN git clone https://github.com/dnomd343/shadowsocks-bootstrap.git && /apk/build-base WORKDIR ./shadowsocks-bootstrap/build/ @@ -448,7 +448,7 @@ COPY . /asset/usr/local/share/ProxyC/ # Release docker image FROM ${PYTHON_IMG} -RUN apk add --no-cache boost-program_options c-ares ca-certificates glib libev libsodium libstdc++ mbedtls pcre && \ +RUN apk add --no-cache boost-program_options c-ares ca-certificates libev libsodium libstdc++ mbedtls pcre && \ ln -s /usr/local/share/ProxyC/main.py /usr/bin/proxyc COPY --from=asset /asset / EXPOSE 7839