explicit whl file name
This commit is contained in:
parent
ed2c630c1c
commit
9ceadc6e97
4 changed files with 7 additions and 7 deletions
2
Makefile
2
Makefile
|
|
@ -28,7 +28,7 @@ wheel: clean
|
||||||
pip3 install build
|
pip3 install build
|
||||||
python3 -m build
|
python3 -m build
|
||||||
docker_stage: wheel
|
docker_stage: wheel
|
||||||
cp dist/*.whl docker/root/
|
cp dist/*.whl docker/root/ytdl-sub.whl
|
||||||
cp -R examples docker/root/defaults/
|
cp -R examples docker/root/defaults/
|
||||||
docker: docker_stage
|
docker: docker_stage
|
||||||
sudo docker build --progress=plain --no-cache -t ytdl-sub:local docker/
|
sudo docker build --progress=plain --no-cache -t ytdl-sub:local docker/
|
||||||
|
|
|
||||||
|
|
@ -44,10 +44,10 @@ RUN mkdir -p /config && \
|
||||||
fi && \
|
fi && \
|
||||||
echo "hi" && \
|
echo "hi" && \
|
||||||
# Install ytdl-sub, ensure it is installed properly
|
# Install ytdl-sub, ensure it is installed properly
|
||||||
python3 -m pip install --break-system-packages --no-cache-dir ytdl_sub-*.whl && \
|
python3 -m pip install --break-system-packages --no-cache-dir ytdl-sub.whl && \
|
||||||
ytdl-sub -h && \
|
ytdl-sub -h && \
|
||||||
# Delete unneeded packages after install
|
# Delete unneeded packages after install
|
||||||
rm ytdl_sub-*.whl && \
|
rm ytdl-sub.whl && \
|
||||||
apk del \
|
apk del \
|
||||||
g++ \
|
g++ \
|
||||||
make \
|
make \
|
||||||
|
|
|
||||||
|
|
@ -61,10 +61,10 @@ RUN mkdir -p /config && \
|
||||||
phantomjs --version ; \
|
phantomjs --version ; \
|
||||||
fi && \
|
fi && \
|
||||||
# Install ytdl-sub, ensure it is installed properly
|
# Install ytdl-sub, ensure it is installed properly
|
||||||
pip install --no-cache-dir --break-system-packages ytdl_sub-*.whl && \
|
pip install --no-cache-dir --break-system-packages ytdl-sub.whl && \
|
||||||
ytdl-sub -h && \
|
ytdl-sub -h && \
|
||||||
# Delete unneeded packages after install
|
# Delete unneeded packages after install
|
||||||
rm ytdl_sub-*.whl && \
|
rm ytdl-sub.whl && \
|
||||||
apt-get remove -y \
|
apt-get remove -y \
|
||||||
g++ \
|
g++ \
|
||||||
make \
|
make \
|
||||||
|
|
|
||||||
|
|
@ -64,10 +64,10 @@ RUN mkdir -p /config && \
|
||||||
phantomjs --version ; \
|
phantomjs --version ; \
|
||||||
fi && \
|
fi && \
|
||||||
# Install ytdl-sub, ensure it is installed properly
|
# Install ytdl-sub, ensure it is installed properly
|
||||||
pip install --no-cache-dir --break-system-packages ytdl_sub-*.whl && \
|
pip install --no-cache-dir --break-system-packages ytdl-sub.whl && \
|
||||||
ytdl-sub -h && \
|
ytdl-sub -h && \
|
||||||
# Delete unneeded packages after install
|
# Delete unneeded packages after install
|
||||||
rm ytdl_sub-*.whl && \
|
rm ytdl-sub.whl && \
|
||||||
apt-get remove -y \
|
apt-get remove -y \
|
||||||
g++ \
|
g++ \
|
||||||
make \
|
make \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue