File tree Expand file tree Collapse file tree 2 files changed +24
-3
lines changed
Expand file tree Collapse file tree 2 files changed +24
-3
lines changed Original file line number Diff line number Diff line change 22SCRIPT_DIR=/mros2-esp32/workspace/target/
33
44. /esp/esp-idf/export.sh
5- cd /jinja2 && pip3 install .
65
76cd ${SCRIPT_DIR}
87rm -rf ${SCRIPT_DIR} /build/
Original file line number Diff line number Diff line change 1- FROM espressif/idf:release-v5.1
1+ FROM ubuntu:22.04
2+
3+ ENV TZ=Asia/Tokyo
4+ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
5+ ENV DEBIAN_FRONTEND=noninteractive
6+
7+ RUN apt update && apt install locales && \
8+ locale-gen en_US en_US.UTF-8 && \
9+ update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \
10+ apt -y clean && \
11+ rm -rf /var/lib/apt/lists/*
12+ ENV LANG=en_US.UTF-8
13+
14+ RUN apt-get update && \
15+ apt-get install -y \
16+ git wget flex bison gperf python3 python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
17+
18+ RUN mkdir -p /esp
19+ RUN cd /esp && git clone --recursive https://github.com/espressif/esp-idf.git -b v5.2-dev && \
20+ cd /esp/esp-idf && \
21+ ./install.sh all
22+
23+ RUN /bin/bash -c "source /esp/esp-idf/export.sh && \
24+ pip3 install jinja2"
225
3- RUN git clone https://github.com/pallets/jinja.git -b 3.1.2 /jinja2
426COPY ./build_mros2.bash /tmp/build_mros2.bash
You can’t perform that action at this time.
0 commit comments