12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- FROM docker.io/debian:12.8-slim
- RUN apt-get update \
- && apt-get install --yes --no-install-recommends \
- ca-certificates \
- fonts-tlwg-loma-ttf \
- gnupg \
- libgl1 \
- && apt-key adv --keyserver keyserver.ubuntu.com \
- --recv-keys DBF1A116C220B8C7164F98230686B78420038257 \
- && rm -rf /var/lib/apt/lists/* \
- && echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" \
- > /etc/apt/sources.list.d/brave-browser-release.list \
- && useradd --create-home browser
- ARG BRAVE_BROWSER_PACKAGE_VERSION=1.61.120
- RUN apt-get update \
- && apt-cache policy brave-browser \
- && apt-get install --yes --no-install-recommends \
- brave-browser=$BRAVE_BROWSER_PACKAGE_VERSION \
- && rm -rf /var/lib/apt/lists/* \
- && find / -xdev -type f -perm /u+s -exec chmod -c u-s {} \; \
- && find / -xdev -type f -perm /g+s -exec chmod -c g-s {} \;
- USER browser
- VOLUME /home/browser
- CMD ["brave-browser", "--no-sandbox"]
- LABEL podman-run-x11="podman run --name brave_browser --rm --init -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v brave_browser_home:/home/browser --shm-size 1GB --read-only --cap-drop ALL --security-opt no-new-privileges \${IMAGE}"
- ARG REVISION=
- LABEL org.opencontainers.image.title="brave browser" \
- org.opencontainers.image.source="https://github.com/fphammerle/docker-brave-browser" \
- org.opencontainers.image.revision="$REVISION"
|