We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0b78f3 commit 3b12d0aCopy full SHA for 3b12d0a
arduino/Dockerfile
@@ -20,7 +20,8 @@ RUN \
20
# Arduino CLI
21
22
RUN \
23
- if [ "$URL" != "" ] ; then export URL_FINAL="--additional-urls ${URL}" ; else export URL_FINAL="" ; fi \
+ arduino-cli config init \
24
+ && if [ "$URL" != "" ] ; then arduino-cli config add board_manager.additional_urls ${URL} ; fi \
25
&& if [ "$VERSION" != "latest" ] ; then export CORE_FINAL="${CORE}@${VERSION}" ; else export CORE_FINAL="${CORE}" ; fi \
- && arduino-cli core update-index ${URL_FINAL} \
26
- && arduino-cli core install ${CORE_FINAL} ${URL_FINAL}
+ && arduino-cli core update-index \
27
+ && arduino-cli core install ${CORE_FINAL}
0 commit comments