mirror of
https://github.com/qtmleap/revkit.git
synced 2026-10-11 12:21:51 +02:00
Source: qtmleap/devcontainers@b0d0804 Template: examples/swift-ios-tweak/ Co-authored-by: tkgstrator <tkgstrator@users.noreply.github.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
39 lines
1.4 KiB
YAML
39 lines
1.4 KiB
YAML
services:
|
|
app:
|
|
# By default we pull the pre-built image published by the upstream
|
|
# template repo's CI (~5 min pull vs. ~25 min local build of Theos +
|
|
# iPhoneOS SDK + Ghidra + Swift toolchain).
|
|
#
|
|
# DOCKER_OWNER defaults to the upstream maintainer of this template; if
|
|
# you fork and want to publish your own image (or run
|
|
# `.github/workflows/devcontainer-build.yaml` in your fork), override
|
|
# DOCKER_OWNER in a .env file next to this compose.yaml:
|
|
# DOCKER_OWNER=your-github-username
|
|
#
|
|
# To force a local build instead of pulling — useful when hacking the
|
|
# Dockerfile — comment out `image:` and the pre-built pull is skipped
|
|
# (Compose falls through to `build:`).
|
|
image: ghcr.io/${DOCKER_OWNER:-yuki-minakami}/devcontainer-swift-ios-tweak:latest
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- ../:/home/vscode/app:cached
|
|
- venv:/home/vscode/app/.venv
|
|
- uv-cache:/home/vscode/.cache/uv
|
|
- bun-cache:/home/vscode/.bun/install/cache
|
|
- npm-cache:/home/vscode/.npm
|
|
- pip-cache:/home/vscode/.cache/pip
|
|
# host networking helps talking to physical devices via libimobiledevice
|
|
# / iproxy over USB, and simplifies port relays to jailbroken hosts.
|
|
network_mode: host
|
|
tty: true
|
|
stdin_open: true
|
|
|
|
volumes:
|
|
venv:
|
|
uv-cache:
|
|
bun-cache:
|
|
npm-cache:
|
|
pip-cache:
|