Fix CI due to broken packages 41/14841/1
authoraravind.est <aravindhan.a@est.tech>
Fri, 22 Aug 2025 15:43:55 +0000 (16:43 +0100)
committeraravind.est <aravindhan.a@est.tech>
Fri, 22 Aug 2025 15:43:55 +0000 (16:43 +0100)
CI broken due to some broken packages. This fixes the issue.

Issue-ID: NONRTRIC-1086
Change-Id: I41ee92a9aa98d489228e586d1cfc11fbead39919
Signed-off-by: aravind.est <aravindhan.a@est.tech>
catalogue-enhanced/Dockerfile

index 4b5fbef..a7e0a27 100644 (file)
@@ -1,6 +1,6 @@
 #  ============LICENSE_START===============================================
 #  Copyright (C) 2022-2023 Nordix Foundation. All rights reserved.
-#  Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved.
+#  Copyright (C) 2023-2025 OpenInfra Foundation Europe. All rights reserved.
 #  ========================================================================
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
 #
 
 FROM python:3.10-slim-buster
+RUN sed -i 's|deb.debian.org/debian|archive.debian.org/debian|g' /etc/apt/sources.list \
+ && sed -i '/security.debian.org/d' /etc/apt/sources.list \
+ && echo "deb http://archive.debian.org/debian-security buster/updates main" >> /etc/apt/sources.list \
+ && apt-get update
+
 RUN apt-get update && apt-get install -y nginx=1.14.* nginx-extras curl
 RUN pip install  Flask==2.2.5 connexion[swagger-ui,flask]==2.14.2