|
@@ -5,14 +5,17 @@ RUN apt-get update \
|
|
&& apt-get install --yes --no-install-recommends \
|
|
&& apt-get install --yes --no-install-recommends \
|
|
ca-certificates \
|
|
ca-certificates \
|
|
gnupg \
|
|
gnupg \
|
|
- && apt-key adv --keyserver pool.sks-keyservers.net --recv-keys D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 \
|
|
|
|
|
|
+ && apt-key adv --keyserver pool.sks-keyservers.net \
|
|
|
|
+ --recv-keys D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" \
|
|
&& echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" \
|
|
> /etc/apt/sources.list.d/brave-browser-release.list \
|
|
> /etc/apt/sources.list.d/brave-browser-release.list \
|
|
&& useradd --create-home browser
|
|
&& useradd --create-home browser
|
|
|
|
|
|
|
|
+ARG BRAVE_BROWSER_PACKAGE_VERSION=1.20.103
|
|
RUN apt-get update \
|
|
RUN apt-get update \
|
|
- && apt-get install --yes --no-install-recommends brave-browser \
|
|
|
|
|
|
+ && apt-get install --yes --no-install-recommends \
|
|
|
|
+ brave-browser=$BRAVE_BROWSER_PACKAGE_VERSION \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
USER browser
|
|
USER browser
|