mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-04 02:34:06 +00:00
Update Dockerfile
This commit is contained in:
1 file changed
+3
-3
+3
-3
@@ -2,8 +2,8 @@ FROM alpine:latest
|
|||||||
MAINTAINER Tindy X <tindy.it@gmail.com>
|
MAINTAINER Tindy X <tindy.it@gmail.com>
|
||||||
|
|
||||||
# build minimized
|
# build minimized
|
||||||
RUN apk add --no-cache --virtual .build-deps git g++ build-base linux-headers cmake && \
|
RUN apk add --no-cache --virtual .build-tools git g++ build-base linux-headers cmake python2 && \
|
||||||
apk add --no-cache --virtual .build-deps curl-dev rapidjson-dev libevent-dev pcre2-dev yaml-cpp-dev python2 && \
|
apk add --no-cache --virtual .build-deps curl-dev rapidjson-dev libevent-dev pcre2-dev yaml-cpp-dev && \
|
||||||
git clone https://github.com/svaarala/duktape --depth=1 && \
|
git clone https://github.com/svaarala/duktape --depth=1 && \
|
||||||
cd duktape && \
|
cd duktape && \
|
||||||
python2 -m ensurepip && \
|
python2 -m ensurepip && \
|
||||||
@@ -29,7 +29,7 @@ RUN apk add --no-cache --virtual .build-deps git g++ build-base linux-headers cm
|
|||||||
cd .. && \
|
cd .. && \
|
||||||
rm -rf subconverter && \
|
rm -rf subconverter && \
|
||||||
apk add --no-cache --virtual subconverter-deps pcre2 libcurl yaml-cpp libevent && \
|
apk add --no-cache --virtual subconverter-deps pcre2 libcurl yaml-cpp libevent && \
|
||||||
apk del .build-deps
|
apk del .build-tools .build-deps
|
||||||
|
|
||||||
# set entry
|
# set entry
|
||||||
WORKDIR /base
|
WORKDIR /base
|
||||||
|
|||||||
Reference in new issue
Block a user