Skip to content

Commit ad602f7

Browse files
author
Eric Thieme-Garmann
committed
edit 3
1 parent f0bd86f commit ad602f7

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@ RUN arduino-cli --additional-urls ${ESP32CORE_URL} core install esp32:esp32@${ES
4040
COPY ./OTAFiles/ /tmp/OTAFiles/
4141

4242
# Use these lines to use environment variable in docker
43-
RUN mkdir -p /root/.arduino15/packages/esp32/hardware/${ESP32_VERSION}/variants/sensebox_mcu_esp32s2 && \
44-
cp /tmp/OTAFiles/boards.txt /root/.arduino15/packages/esp32/hardware/${ESP32_VERSION}/ && \
45-
cp /tmp/OTAFiles/APOTA.ino /root/.arduino15/packages/esp32/hardware/${ESP32_VERSION}/variants/sensebox_mcu_esp32s2/ && \
46-
cp /tmp/OTAFiles/APOTA.bin /root/.arduino15/packages/esp32/hardware/${ESP32_VERSION}/variants/sensebox_mcu_esp32s2/ && \
47-
cp /tmp/OTAFiles/variant.cpp /root/.arduino15/packages/esp32/hardware/${ESP32_VERSION}/variants/sensebox_mcu_esp32s2/
43+
RUN cp /tmp/OTAFiles/boards.txt /root/.arduino15/packages/esp32/hardware/esp32/${ESP32_VERSION}/ && \
44+
cp /tmp/OTAFiles/APOTA.ino /root/.arduino15/packages/esp32/hardware/esp32/${ESP32_VERSION}/variants/sensebox_mcu_esp32s2/ && \
45+
cp /tmp/OTAFiles/APOTA.bin /root/.arduino15/packages/esp32/hardware/esp32/${ESP32_VERSION}/variants/sensebox_mcu_esp32s2/ && \
46+
cp /tmp/OTAFiles/variant.cpp /root/.arduino15/packages/esp32/hardware/esp32/${ESP32_VERSION}/variants/sensebox_mcu_esp32s2/
4847

4948

5049
# install Libraries with arduino-cli

0 commit comments

Comments
 (0)