retro-go/Dockerfile
Alex Duchesne 51c90aae19 Bumped minimum esp-idf version to 4.4
Hopefully will be bumped to 5.0 before the next release but right now there are remaining issues.
2024-09-02 14:08:09 -04:00

19 lines
475 B
Docker

FROM espressif/idf:release-v4.4
WORKDIR /app
ADD . /app
# RUN pip install -r requirements.txt
# Apply patches
RUN cd /opt/esp/idf && \
patch --ignore-whitespace -p1 -i "/app/tools/patches/panic-hook (esp-idf 4).diff" && \
patch --ignore-whitespace -p1 -i "/app/tools/patches/sdcard-fix (esp-idf 4).diff"
# Build
SHELL ["/bin/bash", "-c"]
RUN . /opt/esp/idf/export.sh && \
python rg_tool.py --target=odroid-go release && \
python rg_tool.py --target=mrgc-g32 release