Renato Rosa renatoxsr

browser-use (latest)

Published 2026-09-22 10:16:02 -03:00 by renatoxsr

Installation

docker pull git.silveirarosa.com/renatoxsr/browser-use:latest
sha256:af7f2be7fa2dfbadca4f11f0f9c00ba68a60f620014be2ac5b1688274535a941

Images

Digest OS / Arch Size
69232fccec linux/amd64 644 MiB

Image Layers ( linux/amd64)

# debian.sh --arch 'amd64' out/ 'trixie' '@1787529600'
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV LANG=C.UTF-8
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; apt-get dist-clean # buildkit
ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
ENV PYTHON_VERSION=3.12.14
ENV PYTHON_SHA256=5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a
RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev g++ gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; case "$arch" in amd64|arm64) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; ;; i386) ;; *) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; ;; esac; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit
RUN /bin/sh -c set -eux; for src in idle3 pip3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit
CMD ["python3"]
LABEL name=browseruse maintainer=Nick Sweeting <dockerfile@browser-use.com> description=Make websites accessible for AI agents. Automate tasks online with ease. homepage=https://github.com/browser-use/browser-use documentation=https://docs.browser-use.com org.opencontainers.image.title=browseruse org.opencontainers.image.vendor=browseruse org.opencontainers.image.description=Make websites accessible for AI agents. Automate tasks online with ease. org.opencontainers.image.source=https://github.com/browser-use/browser-use com.docker.image.source.entrypoint=Dockerfile com.docker.desktop.extension.api.version=>= 1.4.7 com.docker.desktop.extension.icon=https://avatars.githubusercontent.com/u/192012301?s=200&v=4 com.docker.extension.publisher-url=https://browser-use.com com.docker.extension.screenshots=[{"alt": "Screenshot of CLI splashscreen", "url": "https://github.com/user-attachments/assets/3606d851-deb1-439e-ad90-774e7960ded8"}, {"alt": "Screenshot of CLI running", "url": "https://github.com/user-attachments/assets/d018b115-95a4-4ac5-8259-b750bc5f56ad"}] com.docker.extension.detailed-description=See here for detailed documentation: https://docs.browser-use.com com.docker.extension.changelog=See here for release notes: https://github.com/browser-use/browser-use/releases com.docker.extension.categories=web,utility-tools,ai
ARG TARGETPLATFORM=linux/amd64
ARG TARGETOS=linux
ARG TARGETARCH=amd64
ARG TARGETVARIANT=
ENV TZ=UTC LANGUAGE=en_US:en LC_ALL=C.UTF-8 LANG=C.UTF-8 DEBIAN_FRONTEND=noninteractive APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 PYTHONIOENCODING=UTF-8 PYTHONUNBUFFERED=1 PIP_DISABLE_PIP_VERSION_CHECK=1 UV_CACHE_DIR=/root/.cache/uv UV_LINK_MODE=copy UV_COMPILE_BYTECODE=1 UV_PYTHON_PREFERENCE=only-system npm_config_loglevel=error IN_DOCKER=True
ENV BROWSERUSE_USER=browseruse DEFAULT_PUID=911 DEFAULT_PGID=911
ENV CODE_DIR=/app DATA_DIR=/data VENV_DIR=/app/.venv PATH=/app/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SHELL [/bin/bash -o pipefail -o errexit -o errtrace -o nounset -c]
RUN |4 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= /bin/bash -o pipefail -o errexit -o errtrace -o nounset -c echo 'Binary::apt::APT::Keep-Downloaded-Packages "1";' > /etc/apt/apt.conf.d/99keep-cache && echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/99no-intall-recommends && echo 'APT::Install-Suggests "0";' > /etc/apt/apt.conf.d/99no-intall-suggests && rm -f /etc/apt/apt.conf.d/docker-clean # buildkit
RUN |4 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= /bin/bash -o pipefail -o errexit -o errtrace -o nounset -c (echo "[i] Docker build for Browser Use $(cat /VERSION.txt) starting..." && echo "PLATFORM=${TARGETPLATFORM} ARCH=$(uname -m) ($(uname -s) ${TARGETARCH} ${TARGETVARIANT})" && echo "BUILD_START_TIME=$(date +"%Y-%m-%d %H:%M:%S %s") TZ=${TZ} LANG=${LANG}" && echo && echo "CODE_DIR=${CODE_DIR} DATA_DIR=${DATA_DIR} PATH=${PATH}" && echo && uname -a && cat /etc/os-release | head -n7 && which bash && bash --version | head -n1 && which dpkg && dpkg --version | head -n1 && echo -e '\n\n' && env && echo -e '\n\n' && which python && python --version && which pip && pip --version && echo -e '\n\n' ) | tee -a /VERSION.txt # buildkit
RUN |4 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= /bin/bash -o pipefail -o errexit -o errtrace -o nounset -c echo "[*] Setting up $BROWSERUSE_USER user uid=${DEFAULT_PUID}..." && groupadd --system $BROWSERUSE_USER && useradd --system --create-home --gid $BROWSERUSE_USER --groups audio,video $BROWSERUSE_USER && usermod -u "$DEFAULT_PUID" "$BROWSERUSE_USER" && groupmod -g "$DEFAULT_PGID" "$BROWSERUSE_USER" && mkdir -p /data && mkdir -p /home/$BROWSERUSE_USER/.config && chown -R $BROWSERUSE_USER:$BROWSERUSE_USER /home/$BROWSERUSE_USER && ln -s $DATA_DIR /home/$BROWSERUSE_USER/.config/browseruse && echo -e "\nBROWSERUSE_USER=$BROWSERUSE_USER PUID=$(id -u $BROWSERUSE_USER) PGID=$(id -g $BROWSERUSE_USER)\n\n" | tee -a /VERSION.txt # buildkit
RUN |4 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= /bin/bash -o pipefail -o errexit -o errtrace -o nounset -c echo "[+] Installing APT base system dependencies for $TARGETPLATFORM..." && mkdir -p /etc/apt/keyrings && apt-get update -qq && apt-get install -qq -y --no-install-recommends apt-transport-https ca-certificates apt-utils gnupg2 unzip curl wget grep nano iputils-ping dnsutils jq && rm -rf /var/lib/apt/lists/* # buildkit
COPY /uv /uvx /bin/ # buildkit
WORKDIR /app
COPY pyproject.toml uv.lock* /app/ # buildkit
RUN |4 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= /bin/bash -o pipefail -o errexit -o errtrace -o nounset -c echo "[+] Setting up venv using uv in $VENV_DIR..." && ( which uv && uv --version && uv venv && which python | grep "$VENV_DIR" && python --version ) | tee -a /VERSION.txt # buildkit
RUN |4 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= /bin/bash -o pipefail -o errexit -o errtrace -o nounset -c echo "[+] Installing chromium browser from system packages..." && apt-get update -qq && apt-get install -y --no-install-recommends chromium fonts-unifont fonts-liberation fonts-dejavu-core fonts-freefont-ttf fonts-noto-core && rm -rf /var/lib/apt/lists/* && ln -s /usr/bin/chromium /usr/bin/chromium-browser && ln -s /usr/bin/chromium /app/chromium-browser && mkdir -p "/home/${BROWSERUSE_USER}/.config/chromium/Crash Reports/pending/" && chown -R "$BROWSERUSE_USER:$BROWSERUSE_USER" "/home/${BROWSERUSE_USER}/.config" && ( which chromium-browser && /usr/bin/chromium-browser --version && echo -e '\n\n' ) | tee -a /VERSION.txt # buildkit
RUN |4 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= /bin/bash -o pipefail -o errexit -o errtrace -o nounset -c echo "[+] Installing browser-use pip sub-dependencies..." && ( uv sync --all-extras --no-dev --no-install-project && echo -e '\n\n' ) | tee -a /VERSION.txt # buildkit
COPY . /app # buildkit
RUN |4 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= /bin/bash -o pipefail -o errexit -o errtrace -o nounset -c echo "[+] Installing browser-use pip library from source..." && ( uv sync --all-extras --locked --no-dev && python -c "import browser_use; print('browser-use installed successfully')" && echo -e '\n\n' ) | tee -a /VERSION.txt # buildkit
RUN |4 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= /bin/bash -o pipefail -o errexit -o errtrace -o nounset -c mkdir -p "$DATA_DIR/profiles/default" && chown -R $BROWSERUSE_USER:$BROWSERUSE_USER "$DATA_DIR" "$DATA_DIR"/* && ( echo -e "\n\n[√] Finished Docker build successfully. Saving build summary in: /VERSION.txt" && echo -e "PLATFORM=${TARGETPLATFORM} ARCH=$(uname -m) ($(uname -s) ${TARGETARCH} ${TARGETVARIANT})\n" && echo -e "BUILD_END_TIME=$(date +"%Y-%m-%d %H:%M:%S %s")\n\n" ) | tee -a /VERSION.txt # buildkit
USER browseruse
VOLUME [/data]
EXPOSE [9242/tcp]
EXPOSE [9222/tcp]
ENTRYPOINT ["browser-use"]

Labels

Key Value
com.docker.compose.project browser
com.docker.compose.service browser-use
com.docker.compose.version 5.5.1
com.docker.desktop.extension.api.version >= 1.4.7
com.docker.desktop.extension.icon https://avatars.githubusercontent.com/u/192012301?s=200&v=4
com.docker.extension.categories web,utility-tools,ai
com.docker.extension.changelog See here for release notes: https://github.com/browser-use/browser-use/releases
com.docker.extension.detailed-description See here for detailed documentation: https://docs.browser-use.com
com.docker.extension.publisher-url https://browser-use.com
com.docker.extension.screenshots [{"alt": "Screenshot of CLI splashscreen", "url": "https://github.com/user-attachments/assets/3606d851-deb1-439e-ad90-774e7960ded8"}, {"alt": "Screenshot of CLI running", "url": "https://github.com/user-attachments/assets/d018b115-95a4-4ac5-8259-b750bc5f56ad"}]
com.docker.image.source.entrypoint Dockerfile
description Make websites accessible for AI agents. Automate tasks online with ease.
documentation https://docs.browser-use.com
homepage https://github.com/browser-use/browser-use
maintainer Nick Sweeting <dockerfile@browser-use.com>
name browseruse
org.opencontainers.image.description Make websites accessible for AI agents. Automate tasks online with ease.
org.opencontainers.image.source https://github.com/browser-use/browser-use
org.opencontainers.image.title browseruse
org.opencontainers.image.vendor browseruse
Details
Container
2026-09-22 10:16:02 -03:00
0
OCI / Docker
Versions (1) View all
latest 2026-09-22