Archived
2
0

download url as ARG

This commit is contained in:
m1k1o 2020-08-16 18:51:31 +02:00
parent 645a57d439
commit 7ee1280add

View File

@ -1,12 +1,14 @@
FROM m1k1o/neko:base FROM m1k1o/neko:base
ARG SRC_URL="https://github.com/macchrome/linchrome/releases/download/v84.0.4147.125-r768962-portable-ungoogled-Lin64/ungoogled-chromium_84.0.4147.125_1.vaapi_linux.tar.xz"
# #
# install custom chromium build from woolyss with support for hevc/x265 # install custom chromium build from woolyss with support for hevc/x265
RUN set -eux; apt-get update; \ RUN set -eux; apt-get update; \
apt-get install -y --no-install-recommends libatk1.0-0 libatk-bridge2.0-0 libatomic1 libcups2 libgtk-3-0 libnss3 libpci3 libxcomposite1 libxss1 openbox xz-utils; \ apt-get install -y --no-install-recommends libatk1.0-0 libatk-bridge2.0-0 libatomic1 \
wget -O - /tmp/chromium.tar.xz "https://github.com/macchrome/linchrome/releases/download/v84.0.4147.125-r768962-portable-ungoogled-Lin64/ungoogled-chromium_84.0.4147.125_1.vaapi_linux.tar.xz" | \ libcups2 libgtk-3-0 libnss3 libpci3 libxcomposite1 libxss1 openbox xz-utils; \
tar -xJf- -C /usr/lib; \ wget -O - /tmp/chromium.tar.xz "${SRC_URL}" | tar -xJf- -C /tmp; \
mv /usr/lib/ungoogled-chromium_84.0.4147.125_1.vaapi_linux /usr/lib/chromium; \ mv /tmp/ungoogled-chromium_* /usr/lib/chromium; \
# #
# make required changes for sandbox mode # make required changes for sandbox mode
mv /usr/lib/chromium/chrome_sandbox /usr/lib/chromium/chrome-sandbox; \ mv /usr/lib/chromium/chrome_sandbox /usr/lib/chromium/chrome-sandbox; \