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

Solve conflict on merge

parent 730c8c86
Branches
No related tags found
No related merge requests found
...@@ -180,7 +180,6 @@ RUN if [ "$DOCKER_IN_DOCKER" = "install" ]; \ ...@@ -180,7 +180,6 @@ RUN if [ "$DOCKER_IN_DOCKER" = "install" ]; \
ARG PEAK_DRIVER=none ARG PEAK_DRIVER=none
RUN if [ "$PEAK_DRIVER" = "install" ]; \ RUN if [ "$PEAK_DRIVER" = "install" ]; \
then \ then \
<<<<<<< HEAD
apt-get update && apt-get install -y udev libpopt-dev linux-headers-$(uname -r) gcc-12\ apt-get update && apt-get install -y udev libpopt-dev linux-headers-$(uname -r) gcc-12\
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 \ && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 200 \ && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 200 \
...@@ -197,20 +196,6 @@ RUN if [ "$PEAK_DRIVER" = "install" ]; \ ...@@ -197,20 +196,6 @@ RUN if [ "$PEAK_DRIVER" = "install" ]; \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& rm -rf /var/cache/apt/archives/*.deb \ && rm -rf /var/cache/apt/archives/*.deb \
&& rm -rf *; \ && rm -rf *; \
=======
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.20.0.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 \
&& tar -xvf peak-linux-driver-8.20.0.tar.gz \
&& cd peak-linux-driver-8.20.0 \
&& make && make install || echo 'make failed but move forward'\
&& cd .. \
&& tar -xvf PCAN-Basic_Linux-4.10.0.4.tar.gz \
&& cd PCAN-Basic_Linux-4.10.0.4/libpcanbasic \
&& make && make install || echo 'make failed but move forward';\
rm -rf /var/lib/apt/lists/*; \
>>>>>>> 9f234849a3bdb7d6f6cf0d3ec5de2786c9ab6815
fi fi
# Install conan for Kortex driver # Install conan for Kortex driver
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment