mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-02 17:52:19 +00:00
Move main executable to /usr/bin for Docker
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -25,7 +25,7 @@ RUN apk add --no-cache --virtual .build-tools git g++ build-base linux-headers c
|
|||||||
cd subconverter && \
|
cd subconverter && \
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release . && \
|
cmake -DCMAKE_BUILD_TYPE=Release . && \
|
||||||
make -j4 && \
|
make -j4 && \
|
||||||
mv subconverter base/ && \
|
mv subconverter /usr/bin && \
|
||||||
mv base ../ && \
|
mv base ../ && \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
rm -rf subconverter && \
|
rm -rf subconverter && \
|
||||||
@@ -34,4 +34,4 @@ RUN apk add --no-cache --virtual .build-tools git g++ build-base linux-headers c
|
|||||||
|
|
||||||
# set entry
|
# set entry
|
||||||
WORKDIR /base
|
WORKDIR /base
|
||||||
CMD ./subconverter
|
CMD subconverter
|
||||||
Reference in new issue
Block a user