mirror of
https://github.com/grumpycoders/pcsx-redux.git
synced 2026-10-12 02:15:13 +00:00
vscode.dev made the code-server container redundant years ago and nothing has referenced it since. env.list only ever existed to give that image a home directory, but dockermake and dockershell had come to rely on it for the same reason, so HOME moves into the build image itself rather than being passed in from the outside. cross-env.list stays: it carries the aarch64 sysroot and pkg-config settings, and has nothing to do with any of this.
24 lines
536 B
Batchfile
24 lines
536 B
Batchfile
@echo off
|
|
set OLDCWD=%cd%
|
|
cd %~dp0
|
|
set ROOT=%cd%
|
|
cd %OLDCWD%
|
|
|
|
set REL=%OLDCWD%
|
|
|
|
SETLOCAL EnableDelayedExpansion
|
|
|
|
set MAT=
|
|
set UPP=
|
|
for /f "tokens=*" %%a in ('echo.%ROOT:\=^&echo.%') do (
|
|
set SUB=!SUB!%%a\
|
|
call set TMP=%%src:!SUB!=%%
|
|
set MAT=!SUB!
|
|
)
|
|
set REL=%UPP%!REL:%MAT%=!
|
|
if "!REL!" EQU "!ROOT!" (set REL=) ELSE (set "REL=!REL:\=/!")
|
|
set REL=/!REL!
|
|
|
|
docker pull ghcr.io/grumpycoders/pcsx-redux-build:latest
|
|
docker run --rm -t -i -w"/project%REL%" -v "%ROOT%:/project" ghcr.io/grumpycoders/pcsx-redux-build:latest bash -l
|