Files changed: - .gitea/scripts/start-radicale.sh - .gitea/sp-live/Dockerfile - .gitea/sp-live/resolve-version.sh - .gitea/workflows/ci.yml - .gitea/workflows/sp-live-image.yml - .gitea/workflows/tracker-live.yml - .gitignore - CHANGES.md - DEVELOPMENT.md - INSTALL.md - VERSION - instructions/dev/doc-pull-through.md - instructions/dev/stack-dev/SKILL.md - instructions/dev/testing-conventions.md - instructions/dev/tracker-testing.md - kb/gtd/INDEX.md - kb/gtd/technik/Chemenu 8.0.0 freigeben.md - kb/gtd/technik/Windows nativ unterstützen.md - kb/index.md - tools/CONTRACT.md - tools/chemenu/commands/docs_verify.py - tools/chemenu/commands/doctor.py - tools/chemenu/commands/review_cmd.py - tools/chemenu/commands/task_cmd.py - tools/chemenu/config.py - tools/chemenu/tasks/config.py - tools/chemenu/tests/conftest.py - tools/chemenu/tests/fixtures/sp/MANIFEST.json - tools/chemenu/tests/fixtures/sp/api/health.json - tools/chemenu/tests/fixtures/sp/api/projects.json - tools/chemenu/tests/fixtures/sp/api/tags.json - tools/chemenu/tests/fixtures/sp/api/tasks.json - tools/chemenu/tests/fixtures/sp/seed-backup.json - tools/chemenu/tests/record_sp_fixtures.py - tools/chemenu/tests/sp_headless.py - tools/chemenu/tests/test_doctor.py - tools/chemenu/tests/test_review.py - tools/chemenu/tests/test_sp_recorded.py - tools/chemenu/tests/test_task_cmd.py - tools/chemenu/tests/test_tasks_config.py - tools/chemenu/tests/test_tracker_live.py - tools/chemenu/tests/tracker_live.py - tools/pytest.ini
31 lines
1.5 KiB
Docker
31 lines
1.5 KiB
Docker
# The image the nightly `tracker-live` workflow runs in: the packaged Super Productivity
|
|
# desktop app, an X server to hold it, and what the suite itself needs (Gitea #156).
|
|
# Built by `.gitea/workflows/sp-live-image.yml`, never by hand.
|
|
FROM debian:trixie-slim
|
|
|
|
ARG SP_VERSION
|
|
ARG SP_SHA512
|
|
|
|
# `nodejs` is for act_runner, which executes JavaScript actions (checkout) inside the
|
|
# job container. `libasound2t64` and `libgbm1` are the two libraries the .deb does not
|
|
# pull in and the app will not start without.
|
|
RUN set -eu; \
|
|
test -n "$SP_VERSION" && test -n "$SP_SHA512"; \
|
|
apt-get update -qq; \
|
|
apt-get install -y --no-install-recommends \
|
|
ca-certificates curl git nodejs python3 python3-venv ripgrep \
|
|
xvfb xauth libasound2t64 libgbm1; \
|
|
curl -fsSL -o /tmp/sp.deb \
|
|
"https://github.com/super-productivity/super-productivity/releases/download/v${SP_VERSION}/superProductivity-amd64.deb"; \
|
|
expected="$(printf '%s' "$SP_SHA512" | base64 -d | od -An -v -tx1 | tr -d ' \n')"; \
|
|
echo "${expected} /tmp/sp.deb" | sha512sum -c -; \
|
|
apt-get install -y --no-install-recommends /tmp/sp.deb; \
|
|
rm -rf /tmp/sp.deb /var/lib/apt/lists/*
|
|
|
|
LABEL org.opencontainers.image.title="chemenu-sp-live" \
|
|
org.opencontainers.image.description="Packaged Super Productivity for chemenu's live tracker suite" \
|
|
chemenu.sp-version="${SP_VERSION}"
|
|
|
|
ENV CHEMENU_LIVE_SP_BINARY="/opt/Super Productivity/superproductivity" \
|
|
CHEMENU_LIVE_SP_VERSION="${SP_VERSION}"
|