Skip to content
Snippets Groups Projects
Commit 9f234849 authored by Montaño Sarria, Andres Felipe's avatar Montaño Sarria, Andres Felipe
Browse files

Update pcan versions

parent 6cbdf4c8
Branches
No related tags found
No related merge requests found
...@@ -172,16 +172,16 @@ ARG PEAK_DRIVER=none ...@@ -172,16 +172,16 @@ ARG PEAK_DRIVER=none
RUN if [ "$PEAK_DRIVER" = "install" ]; \ RUN if [ "$PEAK_DRIVER" = "install" ]; \
then \ then \
apt-get update && apt-get install -y udev libpopt-dev linux-headers-$(uname -r) \ apt-get update && apt-get install -y udev libpopt-dev linux-headers-$(uname -r) \
&& wget https://www.peak-system.com/fileadmin/media/linux/files/peak-linux-driver-8.18.0.tar.gz \ && wget https://www.peak-system.com/fileadmin/media/linux/files/peak-linux-driver-8.20.0.tar.gz \
# && wget https://www.peak-system.com/quick/PEAK-Linux-Driver -O peak-linux-driver.tar.gz \ && wget https://www.peak-system.com/produktcd/Develop/PC%20interfaces/Linux/PCAN-Basic_API_for_Linux/PCAN-Basic_Linux-4.10.0.4.tar.gz
&& wget https://www.peak-system.com/quick/BasicLinux -O PCAN-Basic_Linux.tar.gz \ # && wget https://www.peak-system.com/quick/BasicLinux -O PCAN-Basic_Linux.tar.gz \
&& tar -xvf peak-linux-driver-8.18.0.tar.gz \ && tar -xvf peak-linux-driver-8.20.0.tar.gz \
&& cd peak-linux-driver-8.18.0 \ && cd peak-linux-driver-8.20.0 \
&& make clean && make install || echo 'make failed but move forward'\ && make && make install || echo 'make failed but move forward'\
&& cd .. \ && cd .. \
&& tar -xvf PCAN-Basic_Linux.tar.gz \ && tar -xvf PCAN-Basic_Linux-4.10.0.4.tar.gz \
&& cd PCAN-Basic_Linux-4.9.0.7/libpcanbasic \ && cd PCAN-Basic_Linux-4.10.0.4/libpcanbasic \
&& make clean && make install || echo 'make failed but move forward';\ && make && make install || echo 'make failed but move forward';\
rm -rf /var/lib/apt/lists/*; \ rm -rf /var/lib/apt/lists/*; \
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment