Merge pull request #3 from whalehub/dev

Update Chromium and Go
This commit is contained in:
Miroslav Šedivý 2020-08-15 00:55:47 +02:00 committed by GitHub
commit 002ecec049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# #
# STAGE 1: SERVER # STAGE 1: SERVER
# #
FROM golang:1.14-buster as server FROM golang:1.15-buster as server
WORKDIR /src WORKDIR /src
# #

View File

@ -4,9 +4,9 @@ FROM m1k1o/neko:base
# 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 libcups2 libgtk-3-0 libnss3 libpci3 libxcomposite1 libxss1 openbox xz-utils; \
wget -O - /tmp/chromium.tar.xz "https://github.com/macchrome/linchrome/releases/download/v84.0.4147.89-r768962-portable-ungoogled-Lin64/ungoogled-chromium_84.0.4147.89_1.vaapi_linux.tar.xz" | \ 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" | \
tar -xJf- -C /usr/lib; \ tar -xJf- -C /usr/lib; \
mv /usr/lib/ungoogled-chromium_84.0.4147.89_1.vaapi_linux /usr/lib/chromium; \ mv /usr/lib/ungoogled-chromium_84.0.4147.125_1.vaapi_linux /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; \