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

Modified dockerfile to download extra libs instead of put them in sources

parent 19453246
No related branches found
No related tags found
No related merge requests found
...@@ -59,11 +59,15 @@ RUN apt-get update && \ ...@@ -59,11 +59,15 @@ RUN apt-get update && \
RUN apt-get install -y \ RUN apt-get install -y \
python3-pip \ python3-pip \
&& pip3 install sqlite_utils \ && pip3 install sqlite_utils \
&& pip3 install conan==1.59 \ && pip3 install transforms3d
&& pip3 install transforms3d \
&& conan config set general.revisions_enabled=1 \ # RUN if [ "$ROS_DISTRO" = "noetic" ]; \
&& conan profile new default --detect > /dev/null \ # then \
&& conan profile update settings.compiler=gcc default # pip3 install conan==1.59 \
# && conan config set general.revisions_enabled=1 \
# && conan profile new default --detect > /dev/null \
# && conan profile update settings.compiler=gcc default; \
# fi
# Install zsh if requested # Install zsh if requested
RUN if [ "$EXT_SHELL" = "zsh" ]; \ RUN if [ "$EXT_SHELL" = "zsh" ]; \
...@@ -119,20 +123,33 @@ COPY /extra_libs/* ./ ...@@ -119,20 +123,33 @@ COPY /extra_libs/* ./
# Enviroment tools based on ubuntu version # Enviroment tools based on ubuntu version
RUN if [ -f "common_libs.txt" ]; \ RUN if [ -f "common_libs.txt" ]; \
then \ then \
grep -v '^#' common_libs.txt | xargs dpkg -i ;\ grep -v '^#' common_libs.txt | xargs wget \
&& dpkg -i *.deb; \
fi fi
# Workaround for Azure Kinect
# RUN if [ "$ROS_DISTRO" = "noetic" ]; \
# then \
# echo 'libk4a1.4 libk4a1.4/accepted-eula-hash string 0f5d5c5de396e4fee4c0753a21fee0c1ed726cf0316204edda484f08cb266d76' | debconf-set-selections \
# && echo 'libk4abt1.0 libk4abt1.0/accepted-eula-hash string 03a13b63730639eeb6626d24fd45cf25131ee8e8e0df3f1b63f552269b176e38' | debconf-set-selections \
# && wget https://raw.githubusercontent.com/microsoft/Azure-Kinect-Sensor-SDK/develop/scripts/99-k4a.rules \
# && mkdir -p udev/rules.d \
# && mv 99-k4a.rules udev/rules.d/ \
# && cp --parents udev/rules.d/99-k4a.rules /etc; \
# fi
# Extra libs, e.g. vtk-7.1_20221201-1_amd64.deb # Extra libs, e.g. vtk-7.1_20221201-1_amd64.deb
RUN if [ -f "${ROS_DISTRO}_libs.txt" ]; \ RUN if [ -f "${ROS_DISTRO}_libs.txt" ]; \
then \ then \
grep -v '^#' ${ROS_DISTRO}_libs.txt | xargs dpkg -i ;\ grep -v '^#' ${ROS_DISTRO}_libs.txt | xargs wget \
&& dpkg -i *.deb;\
fi fi
RUN rm -rf * RUN rm -rf *
RUN apt-get --reinstall install -y libnotify-bin notify-osd RUN apt-get --reinstall install -y libnotify-bin notify-osd
# Update this date to re-run the image final update # Update this date to re-run the image final update
LABEL image.date=17-11-2023 LABEL image.date=04-01-2024
# Update final image # Update final image
RUN apt-get update \ RUN apt-get update \
......
# List with the additional libraries to install in devenv image # List with the additional libraries to install in devenv image
bat-musl_0.24.0_amd64.deb # bat-musl
lsd-musl_1.0.0_amd64.deb https://github.com/sharkdp/bat/releases/download/v0.24.0/bat-musl_0.24.0_amd64.deb
ripgrep_13.0.0_amd64.deb # lsd-musl
\ No newline at end of file https://github.com/lsd-rs/lsd/releases/download/v1.0.0/lsd-musl_1.0.0_amd64.deb
# ripgrep
https://github.com/BurntSushi/ripgrep/releases/download/14.1.0/ripgrep_14.1.0-1_amd64.deb
\ No newline at end of file
# Lits of the particualr libs to install in melodic docker image # Lits of the particualr libs to install in melodic docker image
pcl-1.9.1_20221201-1_amd64.deb # pcl-1.9.1_20221201-1_amd64.deb
vtk-7.1_20221201-1_amd64.deb https://git.code.tecnalia.com/andres.montano/docker_libs/-/raw/main/melodic/pcl-1.9.1_20221201-1_amd64.deb?ref_type=heads&inline=false
\ No newline at end of file # vtk-7.1_20221201-1_amd64.deb
https://git.code.tecnalia.com/andres.montano/docker_libs/-/raw/main/melodic/vtk-7.1_20221201-1_amd64.deb?ref_type=heads&inline=false
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment