Skip to content

Commit

Permalink
docker build environment updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorsten Ludewig committed Mar 14, 2021
1 parent 0a7ab21 commit dbcd551
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docker/BUILD.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ docker cp pio-esp32-adruino-info:/ESP32-Arduino-Info/.pio/build/esp32cam/firmwar
docker cp pio-esp32-adruino-info:/ESP32-Arduino-Info/.pio/build/esp32-poe/firmware.bin firmware.esp32-poe
docker cp pio-esp32-adruino-info:/ESP32-Arduino-Info/.pio/build/heltec_wifi_lora_32/firmware.bin firmware.heltec_wifi_lora_32
docker cp pio-esp32-adruino-info:/ESP32-Arduino-Info/.pio/build/esp32dev/firmware.bin firmware.esp32dev
docker cp pio-esp32-adruino-info:/ESP32-Arduino-Info/.pio/build/lilygo-t-eth-poe/firmware.bin firmware.lilygo-t-eth-poe
docker cp pio-esp32-adruino-info:/ESP32-Arduino-Info/.pio/build/wt32-eth01/firmware.bin firmware.wt32-eth01
docker cp pio-esp32-adruino-info:/ESP32-Arduino-Info/.pio/build/wemos_d1_mini32/firmware.bin firmware.wemos_d1_mini32
docker rm pio-esp32-adruino-info
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends wget unzip git
srecord bc xz-utils gcc python3 curl python3-pip python3-dev build-essential

RUN pip3 install -U platformio
RUN pio platform install espressif32@1.12.4 --with-package framework-arduinoespressif32
RUN pio platform install espressif32@3.1.0 --with-package framework-arduinoespressif32
RUN git clone https://github.com/thorsten-l/ESP32-Arduino-Info.git

WORKDIR /ESP32-Arduino-Info
Expand Down
3 changes: 3 additions & 0 deletions docker/cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ git clone https://github.com/thorsten-l/ESP32-Arduino-Info.git
cd /ESP32-Arduino-Info
/usr/local/bin/platformio run \
-e esp32-poe \
-e lilygo-t-eth-poe \
-e wt32-eth01 \
-e wemos_d1_mini32 \
-e esp32cam \
-e heltec_wifi_lora_32 \
-e esp32dev \
Expand Down

0 comments on commit dbcd551

Please sign in to comment.