This repository was archived by the owner on Apr 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +4
-160
lines changed
Expand file tree Collapse file tree 6 files changed +4
-160
lines changed Original file line number Diff line number Diff line change 11FROM archlinux/base
22RUN pacman --noconfirm -Sy
33RUN pacman --noconfirm -S arduino arduino-avr-core git cmake make lsb-release
4- RUN mkdir -p /root/.arduino15 /root/ Arduino/libraries
4+ RUN mkdir -p /root/Arduino/libraries
55RUN git clone https://github.com/arduino-libraries/Servo.git /root/Arduino/libraries/Servo
66RUN git clone https://github.com/arduino-libraries/Stepper.git /root/Arduino/libraries/Stepper
77RUN git clone https://github.com/arduino-libraries/Ethernet.git /root/Arduino/libraries/Ethernet
8- COPY preferences.txt /root/.arduino15/preferences.txt
98COPY run.sh /run.sh
109CMD /run.sh
1110
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11#! /bin/sh
22mkdir build
33cd build
4- cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Arduino-Toolchain.cmake -DAUTO_SET_SKETCHBOOK_PATH=ON ../examples/
4+ cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Arduino-Toolchain.cmake -DARDUINO_CMAKE_SKETCHBOOK_PATH=/root/Arduino ../examples/
55make
66
Original file line number Diff line number Diff line change 11FROM fedora:latest
22RUN dnf install -y arduino cmake make redhat-lsb-core git
3- RUN mkdir -p /root/.arduino15 /root/ Arduino/libraries
3+ RUN mkdir -p /root/Arduino/libraries
44RUN git clone https://github.com/arduino-libraries/Servo.git /root/Arduino/libraries/Servo
55RUN git clone https://github.com/arduino-libraries/Stepper.git /root/Arduino/libraries/Stepper
66RUN git clone https://github.com/arduino-libraries/Ethernet.git /root/Arduino/libraries/Ethernet
7- COPY preferences.txt /root/.arduino15/preferences.txt
87COPY run.sh /run.sh
98CMD /run.sh
109
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11#! /bin/sh
22mkdir build
33cd build
4- cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Arduino-Toolchain.cmake -DAUTO_SET_SKETCHBOOK_PATH=ON ../examples/
4+ cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Arduino-Toolchain.cmake -DARDUINO_CMAKE_SKETCHBOOK_PATH=/root/Arduino ../examples/
55make
66
You can’t perform that action at this time.
0 commit comments