Files
connector-popos/smoketest/Dockerfile
T
davidandClaude Opus 5.5 b609252e1c Pin srt to a tested version; support only Pop!_OS 26.04 and later
srt is pinned to 0.0.83, the version the smoketest passed with. A computer
with another version sees the agents item as to do in configure, which
installs the pinned one. Move the pin only after smoketest/run 50 80 passes.

The installer and configure stop on Pop!_OS (or Ubuntu) older than 26.04.
The smoketest builds on Ubuntu 26.04, with checks that 24.04 is refused.
26.04's own AppArmor profile lets bubblewrap make user namespaces, so the
connector's profile for it, and the code that offered to add it, are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 20:49:54 -07:00

16 lines
930 B
Docker

# Ubuntu 26.04, which Pop!_OS 26.04 is built on: the same apt packages,
# except COSMIC's own. A user "pop" with passwordless sudo, as configure
# expects an administrator. configure's own packages (install.sh's PACKAGES)
# are already in, to keep each scenario quick; 05-install takes one out.
FROM ubuntu:26.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends sudo ca-certificates curl dbus-x11 gnome-keyring \
xz-utils procps iproute2 \
jq libsecret-tools python3-gi gir1.2-secret-1 libnotify-bin avahi-utils \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m -s /bin/bash pop && echo 'pop ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/pop \
&& printf 'ID=pop\nNAME="Pop!_OS"\nPRETTY_NAME="Pop!_OS 26.04 LTS (smoketest)"\nVERSION_ID="26.04"\nID_LIKE="ubuntu debian"\nUBUNTU_CODENAME=resolute\nVERSION_CODENAME=resolute\n' > /etc/os-release
USER pop
WORKDIR /home/pop