mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 02:47:34 +00:00
* fix(cli): preserve runtime access across Linux PID namespaces * fix(cli): give retry advice after runtime replacement * fix(cli): preserve private offline admission policy * test(cli): align admission and launcher contracts * test(cli): prune resolved wall-clock allowance * test(cli): narrow dropped runtime errors without casts * test(cli): use explicit extension for hook service import * test(cli): replay recorded Linux sandbox denial * test: verify packaged Linux desktop CLI ownership * test: handle denied FUSE mounts in desktop fixture * test: use privileged PID namespace in desktop fixture
44 lines
1.3 KiB
Docker
44 lines
1.3 KiB
Docker
FROM ubuntu@sha256:678c6550cc43645e08669028bc177f50be4e7c5b8cca677067b1914d4afc7a03
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# Why: archive.ubuntu.com mid-sync returns Hash Sum mismatch / wrong-size indexes and stalls per-package fetches; retry with bounded timeouts and drop half-synced lists between attempts.
|
|
RUN for attempt in 1 2 3 4 5; do \
|
|
apt-get -o Acquire::Retries=5 -o Acquire::http::Timeout=30 update && break; \
|
|
if [ "$attempt" = 5 ]; then exit 100; fi; \
|
|
rm -rf /var/lib/apt/lists/*; sleep 20; \
|
|
done \
|
|
&& apt-get -o Acquire::Retries=5 -o Acquire::http::Timeout=30 install -y --no-install-recommends \
|
|
bash \
|
|
ca-certificates \
|
|
dbus-x11 \
|
|
fuse \
|
|
git \
|
|
iproute2 \
|
|
jq \
|
|
libatk-bridge2.0-0 \
|
|
libatspi2.0-0 \
|
|
libasound2t64 \
|
|
libdrm2 \
|
|
libgbm1 \
|
|
libgtk-3-0 \
|
|
libnss3 \
|
|
libxcomposite1 \
|
|
libxdamage1 \
|
|
libxfixes3 \
|
|
libxkbcommon0 \
|
|
libxrandr2 \
|
|
libxss1 \
|
|
procps \
|
|
util-linux \
|
|
xauth \
|
|
xvfb \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN useradd --create-home --shell /bin/bash orca
|
|
|
|
COPY run-signal-case.sh /usr/local/bin/run-signal-case
|
|
COPY run-appimage-desktop-startup-case.sh /usr/local/bin/run-appimage-desktop-startup-case
|
|
|
|
ENTRYPOINT ["/usr/local/bin/run-signal-case"]
|