Skip to content

Commit 892b180

Browse files
committed
fix dockefile
Signed-off-by: Dhruva Gole <goledhruva@gmail.com>
1 parent e0610d0 commit 892b180

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ RUN \
5959
&& apt-get remove -y --purge \
6060
wget \
6161
&& apt-get clean \
62-
&& rm -rf /var/lib/apt/lists/*
63-
&& git clone git@github.com:arduino/ArduinoCore-API .ArduinoCore-API
64-
&& sed '/WCharacter.h/ s/./\/\/ &/' .ArduinoCore-API/api/ArduinoAPI.h > .ArduinoCore-API/api/tmpArduinoAPI.h ;
65-
&& mv .ArduinoCore-API/api/tmpArduinoAPI.h .ArduinoCore-API/api/ArduinoAPI.h ;
66-
&& ln -sf ~/.ArduinoCore-API/api cores/arduino/. ;
67-
&& printf '%s\n' "Module Successfully setup...";
62+
&& rm -rf /var/lib/apt/lists/* \
63+
&& git clone https://github.com/arduino/ArduinoCore-API.git .ArduinoCore-API \
64+
&& sed '/WCharacter.h/ s/./\/\/ &/' .ArduinoCore-API/api/ArduinoAPI.h > .ArduinoCore-API/api/tmpArduinoAPI.h \
65+
&& mv .ArduinoCore-API/api/tmpArduinoAPI.h .ArduinoCore-API/api/ArduinoAPI.h \
66+
# && ln -sf ~/.ArduinoCore-API/api cores/arduino/. \
67+
&& ls -la \
68+
&& printf '%s\n' "Module Successfully setup..."

0 commit comments

Comments
 (0)