retro-go/Dockerfile
Alex Duchesne 2cc6075968 Attempt to fix github actions
Something must have changed in the docker container or github actions, there's an error because an esp-idf script expects bash and docker uses sh
2024-01-30 17:06:15 -05:00

19 lines
491 B
Docker

FROM espressif/idf:release-v4.3
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.2 and 4.3).diff" && \
patch --ignore-whitespace -p1 -i "/app/tools/patches/sdcard-fix (esp-idf 4.2 and 4.3).diff"
# Build
RUN chsh -s /bin/bash
RUN . /opt/esp/idf/export.sh && \
python rg_tool.py --target=odroid-go release && \
python rg_tool.py --target=mrgc-g32 release