docker-Tasmota-platformio-e.../entrypoint.sh
Lukas Endigo 3a1224ff29
Some checks are pending
Tasmota Docker test / build (ubuntu-20.04, 3.10) (push) Waiting to run
Tasmota Docker test / build (ubuntu-20.04, 3.11) (push) Waiting to run
Tasmota Docker test / build (ubuntu-22.04, 3.10) (push) Waiting to run
Tasmota Docker test / build (ubuntu-22.04, 3.11) (push) Waiting to run
Publish Docker / build (push) Waiting to run
first commit
2024-10-29 09:28:22 +05:00

15 lines
356 B
Bash

# Оригинальный entrypoint.sh
#!/bin/bash
TASMOTA_VOLUME='/tasmota'
if [ -d $TASMOTA_VOLUME ]; then
cd $TASMOTA_VOLUME
echo "Compiling Tasmota ..."
echo "Arguments received by entrypoint: $@"
pio run "$@"
echo "All done! Find your builds in Tasmota/build_output/firmware/"
else
echo ">>> NO TASMOTA VOLUME MOUNTED --> EXITING"
exit 0
fi