Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #540 from vania-pooh/master
Browse files Browse the repository at this point in the history
Switched to Yandex.Browser stable repo
  • Loading branch information
vania-pooh authored Jun 29, 2022
2 parents 437a7d7 + 0bde55d commit c127167
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
8 changes: 4 additions & 4 deletions static/yandex/apt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ FROM browsers/base:7.3.6

ARG VERSION=19.4.2.698-1

LABEL browser=yandex-browser-beta:$VERSION
LABEL browser=yandex-browser-stable:$VERSION

RUN \
curl -s https://repo.yandex.ru/yandex-browser/YANDEX-BROWSER-KEY.GPG | apt-key add - && \
echo 'deb [arch=amd64] https://repo.yandex.ru/yandex-browser/deb beta main' > /etc/apt/sources.list.d/yandex-browser.list && \
echo 'deb [arch=amd64] https://repo.yandex.ru/yandex-browser/deb stable main' > /etc/apt/sources.list.d/yandex-browser.list && \
apt-get update && \
apt-get -y --no-install-recommends install yandex-browser-beta=$VERSION && \
yandex-browser-beta --version && \
apt-get -y --no-install-recommends install yandex-browser-stable=$VERSION && \
yandex-browser --version && \
rm /etc/apt/sources.list.d/yandex-browser.list && \
rm -Rf /tmp/* && rm -Rf /var/lib/apt/lists/*
10 changes: 7 additions & 3 deletions static/yandex/local/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM browsers/base:7.3.6

ARG VERSION=noop

LABEL browser=yandex-browser-beta:$VERSION
LABEL browser=yandex-browser-stable:$VERSION

RUN \
apt-get update && \
Expand Down Expand Up @@ -49,12 +49,16 @@ RUN \
libnss3 \
lsb-base \
xdg-utils \
binutils \
jq \
libgbm1 \
wget \
libcurl4 \
curl && \
curl -O http://apt-repo:8080/yandex-browser.deb && \
curl -O http://host.docker.internal:8080/yandex-browser.deb && \
apt-get -y purge curl && \
dpkg -i yandex-browser.deb && \
rm yandex-browser.deb && \
yandex-browser-beta --version && \
yandex-browser --version && \
rm -Rf /tmp/* && \
rm -Rf /var/lib/apt/lists/*

0 comments on commit c127167

Please sign in to comment.