Files
onionHEN/docker-compose.yml
kvnhrt a534adcd60 feat: add ShadowMount+, DPI pkg-server + WebUI, fix PS4 FPS
- fix(fps): measure PS4 BC frame rate with a remote GNM detour
  and hide the pkg install result code in the finish notification
- feat(utils): integrate ShadowMount+ alongside the FTPSRV service
  for game scanning, mounting and installation
- feat(DPI): add the packet package server (pkgserver) with its
  Web UI and full REST/SSE API surface
- feat(tests): add new host test suites (multipart, builtin
  services, pkg XML, FPS formula, toolbox i18n/route, language)
- build: add Docker support for building and running the tests
- docs: update credits, README, architecture, util-arch, api and
  third-party documentation; add contributor credit and i18n keys
- i18n: remove the pkg finish result code from every locale
2026-08-31 05:26:42 -06:00

41 lines
2.0 KiB
YAML

services:
onionhen-build:
build:
context: .
dockerfile: Dockerfile
args:
HOST_UID: ${HOST_UID:-1000}
HOST_GID: ${HOST_GID:-1000}
working_dir: /workspace
volumes:
- .:/workspace
- ./.docker/pacbrew-ps5:/opt/ps5-payload-sdk/target/user/homebrew:ro
command: >
/bin/bash -lc "set -euo pipefail; rm -rf /tmp/onionhen-build; cp -a /workspace/. /tmp/onionhen-build; python3 -c \"from pathlib import Path; files=list(Path('/tmp/onionhen-build').rglob('*.sh'))+list(Path('/tmp/onionhen-build').rglob('*.bash')); [p.write_bytes(p.read_bytes().replace(bytes([13]), bytes())) for p in files]\"; git -C /tmp/onionhen-build submodule update --init --recursive; cd /tmp/onionhen-build; export PS5_PAYLOAD_SDK=/opt/ps5-payload-sdk; export LLVM_CONFIG=/usr/lib/llvm-18/bin/llvm-config; export PATH=/usr/lib/llvm-18/bin:$${PS5_PAYLOAD_SDK}/bin:$${PATH}; ./scripts/build.sh --jobs 8; rm -rf /workspace/build; cp -a /tmp/onionhen-build/build /workspace/build"
environment:
PS5_PAYLOAD_SDK: /opt/ps5-payload-sdk
BUILD_TYPE: Debug
JOBS: "8"
KEYSTONE_PREFIX: /usr/local
LLVM_CONFIG: /usr/lib/llvm-18/bin/llvm-config
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/llvm-18/bin:/opt/ps5-payload-sdk/bin
stdin_open: true
tty: true
onionhen-tests:
build:
context: .
dockerfile: Dockerfile
args:
HOST_UID: ${HOST_UID:-1000}
HOST_GID: ${HOST_GID:-1000}
working_dir: /workspace
volumes:
- .:/workspace
command: >
/bin/bash -lc "set -euo pipefail; git config --global --add safe.directory /workspace; git -C /workspace submodule update --init --recursive; make -C source/util/tests clean; make -C source/util/tests test"
environment:
KEYSTONE_PREFIX: /usr/local
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/llvm-18/bin:/opt/ps5-payload-sdk/bin
stdin_open: true
tty: true