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 @@ -11,8 +11,8 @@ ENV QSV_VER="8.1.1"
1111USER root
1212RUN apt-get update -y \
1313 && apt-get install -y wget gpg \
14- && wget -O - https://dathere.github.io/qsv-deb-releases/qsv-deb.gpg | gpg --dearmor -o /usr/share/keyrings/qsv-deb.gpg \
15- && echo "deb [signed-by=/usr/share/keyrings/qsv-deb.gpg] https://dathere.github.io/qsv-deb-releases ./" | tee /etc/apt/sources.list.d/qsv.list \
14+ && wget -O - https://dathere.github.io/qsv-deb-releases/qsv-deb.gpg | sudo gpg --dearmor -o /usr/share/keyrings/qsv-deb.gpg \
15+ && echo "deb [signed-by=/usr/share/keyrings/qsv-deb.gpg] https://dathere.github.io/qsv-deb-releases ./" | sudo tee /etc/apt/sources.list.d/qsv.list \
1616 && apt-get update -y \
1717 && apt-get install -y \
1818 inotify-tools ca-certificates \
@@ -26,7 +26,7 @@ RUN apt-get update -y \
2626RUN set -eux; \
2727 echo "Detected platform: ${TARGETPLATFORM}" ; \
2828 if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then \
29- apt-get install -y qsv; \
29+ apt-get update -y && apt-get install -y qsv; \
3030 elif [ "${TARGETPLATFORM}" = "linux/arm64" ]; then \
3131 QSV_VER="8.1.1" ; \
3232 QSV_DOWNLOAD_URL="https://github.com/dathere/qsv/releases/download/${QSV_VER}/qsv-${QSV_VER}-aarch64-unknown-linux-gnu.zip" ; \
You can’t perform that action at this time.
0 commit comments