summaryrefslogtreecommitdiffstats
path: root/files/.bin/jd-arduino-cli.Dockerfile
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2024-09-20 14:16:56 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2024-09-20 14:16:56 +0200
commit45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a (patch)
treeb564c1c43920def6641cd482a7b4dca453dbc043 /files/.bin/jd-arduino-cli.Dockerfile
parent07dd8e37eb767c3dd6abf63e5e4a720cd778da15 (diff)
downloaddotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.tar.gz
dotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.zip
Change dotfiles structure, and add guix-channels declaration.
Diffstat (limited to 'files/.bin/jd-arduino-cli.Dockerfile')
-rw-r--r--files/.bin/jd-arduino-cli.Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/files/.bin/jd-arduino-cli.Dockerfile b/files/.bin/jd-arduino-cli.Dockerfile
new file mode 100644
index 0000000..cb8eb91
--- /dev/null
+++ b/files/.bin/jd-arduino-cli.Dockerfile
@@ -0,0 +1,16 @@
1FROM python:3.12-rc-slim
2
3RUN apt update && apt install -y wget && \
4 wget https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_64bit.tar.gz && \
5 tar -C /usr/bin/ -xf arduino-cli_nightly-latest_Linux_64bit.tar.gz
6
7RUN mkdir ~/.arduino15 && \
8 echo "board_manager:" > ~/.arduino15/arduino-cli.yaml && \
9 echo " additional_urls:" >> ~/.arduino15/arduino-cli.yaml && \
10 echo " - http://arduino.esp8266.com/stable/package_esp8266com_index.json" >> ~/.arduino15/arduino-cli.yaml
11
12
13RUN arduino-cli core update-index && \
14 arduino-cli core install esp8266:esp8266
15
16WORKDIR /src \ No newline at end of file