File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,21 +5,21 @@ ARG TARGETPLATFORM
55# Install dependencies
66RUN export BUILD=$(if [ "$TARGETPLATFORM" = "linux/amd64" ] ; then echo "amd64" ; else echo "arm64" ; fi) \
77 buildDeps='wget ca-certificates build-essential' && \
8+ apt-get update -y && apt-get install -y --no-install-recommends software-properties-common ca-certificates; \
9+ add-apt-repository -y ppa:ubuntuhandbook1/ffmpeg7 && \
810 apt-get update -y && apt-get install -y \
911 libjpeg-dev \
1012 imagemagick \
1113 python3-venv \
1214 python3 \
1315 xz-utils \
16+ ffmpeg \
1417 $buildDeps \
1518 --no-install-recommends --force-yes && \
1619 rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
1720 python3 -m venv /opt/venv && \
1821 /opt/venv/bin/pip install --upgrade pip setuptools && \
1922 /opt/venv/bin/pip install --no-cache-dir pyssim OpenCV-Python Numpy image && \
20- wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-$BUILD-static.tar.xz && \
21- tar --strip-components 1 -C /usr/bin -xf ffmpeg-release-$BUILD-static.tar.xz --wildcards ffmpeg*/ff* && \
22- rm ffmpeg-release-$BUILD-static.tar.xz && \
2323 apt-get purge -y --auto-remove $buildDeps
2424
2525ENV PATH="/opt/venv/bin:${PATH}"
You can’t perform that action at this time.
0 commit comments