Remove dependencies no longer needed by pycurl

Change-Id: I942e786ab9286f2f30bd60e146ea862324e4ca4d
Signed-off-by: gonzalezpach <pol.gonzalez.pacheco@upc.edu>
diff --git a/docker/osmclient/Dockerfile b/docker/osmclient/Dockerfile
index ae4a1ab..e5b3acd 100644
--- a/docker/osmclient/Dockerfile
+++ b/docker/osmclient/Dockerfile
@@ -34,7 +34,6 @@
 
 RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
     DEBIAN_FRONTEND=noninteractive apt-get --yes install \
-    libcurl4-openssl-dev=7.68.* \
     libssl-dev=1.1.*
 
 ARG PYTHON3_OSMCLIENT_URL
diff --git a/docker/tests/Dockerfile b/docker/tests/Dockerfile
index 2c824bc..34afcfc 100644
--- a/docker/tests/Dockerfile
+++ b/docker/tests/Dockerfile
@@ -41,7 +41,6 @@
     git=1:2.34.* \
     iputils-ping=3:* \
     jq=1.6* \
-    libcurl4-openssl-dev=7.81.* \
     libssl-dev=3.0.* \
     libmagic1=1:5.*
 
diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh
index f110b9a..678d969 100755
--- a/installers/full_install_osm.sh
+++ b/installers/full_install_osm.sh
@@ -189,7 +189,7 @@
         python3 -m pip install -r /usr/lib/python3/dist-packages/osm_im/requirements.txt
     fi
     if [ -f /usr/lib/python3/dist-packages/osmclient/requirements.txt ]; then
-        sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libcurl4-openssl-dev libssl-dev libmagic1
+        sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libssl-dev libmagic1
         python3 -m pip install -r /usr/lib/python3/dist-packages/osmclient/requirements.txt
     fi
     [ -z "$INSTALL_LIGHTWEIGHT" ] && export OSM_HOSTNAME=`lxc list | awk '($2=="SO-ub"){print $6}'`