19 lines
479 B
Docker
19 lines
479 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.x).diff" && \
|
|
patch --ignore-whitespace -p1 -i "/app/tools/patches/sdcard-fix (esp-idf 4.x).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
|