add gitlabreleaseuploader

This commit is contained in:
Wolfgang Hottgenroth 2019-05-07 17:43:11 +02:00
parent 4037727566
commit 865e0c7bb5
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4

View File

@ -12,9 +12,12 @@ RUN \
apt update && \
apt install -y wget && \
apt install -y vim.tiny && \
apt install -y python-requests && \
rm -rf /var/lib/apt/lists/* && \
cd /tmp && \
wget https://downloads.arduino.cc/arduino-cli/${ArduinoPackage} && \
wget https://gitlab.com/wolutator/gitlabreleaseuploader/uploads/e105045f7883b8082e810365f685d269/gitlabreleaseuploader.py && \
mv gitlabreleaseuploader.py /usr/bin/ && \
Filename=`tar -tjf ${ArduinoPackage}` && \
tar -xjf ${ArduinoPackage} && \
mv $Filename /usr/bin/arduino-cli && \