mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-26 10:52:21 +00:00
Fix support for some non-standard subscription
Add Dockerfile for image auto update.
This commit is contained in:
16
scripts/Dockerfile
Normal file
16
scripts/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM alpine:latest
|
||||
MAINTAINER Tindy X <tindy.it@gmail.com>
|
||||
|
||||
# build minimized
|
||||
RUN apk add git g++ build-base linux-headers cmake && \
|
||||
apk add libressl-dev curl-dev rapidjson-dev libevent-dev pcre-dev yaml-cpp-dev && \
|
||||
git clone https://github.com/tindy2013/subconverter && \
|
||||
cd subconverter && \
|
||||
cmake . && \
|
||||
make -j4 && \
|
||||
mv subconverter base/ && \
|
||||
apk add curl yaml-cpp libevent && \
|
||||
apk del git gcc g++ build-base linux-headers cmake libressl-dev curl-dev rapidjson-dev libevent-dev yaml-cpp-dev
|
||||
|
||||
# set entry
|
||||
CMD /subconverter/base/subconverter
|
||||
Reference in New Issue
Block a user