Skip to content

Commit bb18da2

Browse files
iamLiquidXnenokkadine
authored andcommitted
Small fix (#30)
* Fix to ffi.h not found * Version bump Fix LXML Build Issues and FFMpeg DNS issues Zlib not found Forgot to update version 👽 Downgrade Python Version to 3.9 Never knew that python 3.10 got released 😠 Revert back to old version
1 parent ea18773 commit bb18da2

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
2828
run: |
2929
python setup.py sdist bdist_wheel
30-
twine upload dist/*
30+
twine upload dist/* || exit 0
3131
- name: Upload all the data files to github Release
3232
uses: softprops/action-gh-release@v1
3333
with:

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:slim
1+
FROM python:3.9-slim
22

33
WORKDIR /
44
# Deps
@@ -9,12 +9,12 @@ RUN if [ "$(uname -m)" = "aarch64" ] ; then \
99
fi && \
1010
sed -i 's/main/main non-free/g' /etc/apt/sources.list && \
1111
apt-get -qq update && \
12-
apt-get -qq install -y tzdata curl aria2 p7zip-full p7zip-rar wget xz-utils libmagic-dev gcc && \
12+
apt-get -qq install -y tzdata curl aria2 p7zip-full p7zip-rar wget xz-utils libmagic-dev gcc libffi-dev nscd && \
1313
apt-get -y autoremove && rm -rf /var/lib/apt/lists/* && apt-get clean && \
14-
wget -q https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-${HOST_CPU_ARCH}-static.tar.xz && \
14+
wget -q https://github.com/yzop/gg/raw/main/ffmpeg-git-${HOST_CPU_ARCH}-static.tar.xz && \
1515
tar -xf ff*.tar.xz && rm -rf *.tar.xz && \
1616
mv ff*/ff* /usr/local/bin/ && rm -rf ff* && \
17-
wget -q https://github.com/viswanathbalusu/megasdkrest/releases/download/v0.1.1/megasdkrest-${HOST_CPU_ARCH} -O /usr/local/bin/megasdkrest && \
17+
wget -q https://github.com/viswanathbalusu/megasdkrest/releases/latest/download/megasdkrest-${HOST_CPU_ARCH} -O /usr/local/bin/megasdkrest && \
1818
chmod a+x /usr/local/bin/megasdkrest && mkdir /app/ && chmod 777 /app/ && \
1919
pip3 install --no-cache-dir MirrorX && \
2020
apt-get purge -yqq gcc && apt-get -y autoremove && rm -rf /var/lib/apt/lists/* && apt-get clean

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name='MirrorX',
10-
version='6.0.6',
10+
version='6.0.1',
1111
packages=find_packages(),
1212
long_description=README,
1313
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)