Hi @Riley_P
I just went through the process myself of building a PYNQ.remote image for the RFSoC4x2 and was able get a working image built.
These are the commands I ran:
Setting up the PYNQ Docker container
export XILINX_TOOLS_PATH=/path/to/Xilinx/tools # e.g. /tools/Xilinx
export PETALINUX_TOOLS_PATH=/path/to/petalinux/tools # e.g. /home/$USER/petalinux
mkdir rfsoc4x2-remote-image-build-test
pushd rfsoc4x2-remote-image-build-test
git clone --recursive https://github.com/Xilinx/PYNQ.git PYNQ
pushd PYNQ/sdbuild/
docker build --build-arg USERNAME=$(whoami) --build-arg USER_UID=$(id -u) --build-arg USER_GID=$(id -g) -t pynqdock-test:latest .
popd
docker run --init --rm -it -v $XILINX_TOOLS_PATH:$XILINX_TOOLS_PATH:ro -v $PETALINUX_TOOLS_PATH:$PETALINUX_TOOLS_PATH:ro -v $(pwd):/workspace --name pynq-sdbuild-env-test --privileged pynqdock-test:latest /bin/bash
From within the PYNQ Docker container
export XILINX_TOOLS_PATH=/path/to/Xilinx/tools # e.g. /tools/Xilinx
export PETALINUX_TOOLS_PATH=/path/to/petalinux/tools # e.g. /home/$USER/petalinux
source $XILINX_TOOLS_PATH/Vivado/2024.1/settings64.sh
source $PETALINUX_TOOLS_PATH/2024.1/settings.sh
git clone --recursive https://github.com/Xilinx/RFSoC-PYNQ.git
pushd RFSoC-PYNQ
wget https://github.com/RealDigitalOrg/RFSoC4x2-BSP/raw/refs/heads/master/bsp_releases/RFSoC4x2_2024_1.bsp -O boards/RFSoC4x2/RFSoC4x2.bsp
make pynqremote BOARD=RFSoC4x2
This took around 30 minutes to build the image.