From f78dbc8a5f9129b946c31b90e5ffee92d040767a Mon Sep 17 00:00:00 2001 From: Haritest Date: Tue, 3 Oct 2023 22:07:27 +0530 Subject: [PATCH 1/3] Update Dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 783d0956..6b5cd60e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,10 @@ RUN npm install --unsafe-perm FROM node:8.11-slim MAINTAINER "Manojvv" "manojv@ilimi.in" -RUN sed -i '/jessie-updates/d' /etc/apt/sources.list \ - && apt update && apt install openssl imagemagick -y \ +RUN echo "deb http://archive.debian.org/debian-security jessie/updates main" >> /etc/apt/sources.list.d/jessie.list + +RUN echo "deb http://archive.debian.org/debian jessie main" >> /etc/apt/sources.list.d/jessie.list +RUN apt update && apt install openssl imagemagick -y \ && apt-get clean \ && useradd -m sunbird USER sunbird From 31462b7d7d29bfa028c4e6d0b1b7eca133aba531 Mon Sep 17 00:00:00 2001 From: Sahil-tarento <140611066+Sahil-tarento@users.noreply.github.com> Date: Wed, 14 Feb 2024 16:50:38 +0530 Subject: [PATCH 2/3] Adding the composite search URI chages --- src/config/contentProviderApiConfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/contentProviderApiConfig.json b/src/config/contentProviderApiConfig.json index e71e0ad8..7e785d0c 100644 --- a/src/config/contentProviderApiConfig.json +++ b/src/config/contentProviderApiConfig.json @@ -2,7 +2,7 @@ "API": { "CREATE_CONTENT_URI": "/content/v3/create", "SEARCH_CONTENT_URI": "/content/v3/search", - "SEARCH_URI": "/v3/search", + "SEARCH_URI": "/v4/search", "UPDATE_CONTENT_URI": "/content/v3/update", "GET_CONTENT_URI": "/content/v3/read", "REVIEW_CONTENT_URI": "/content/v3/review", From dd96505873770c4d41619846fc2e8f4d891fd89c Mon Sep 17 00:00:00 2001 From: Haritest Date: Wed, 14 Feb 2024 17:37:35 +0530 Subject: [PATCH 3/3] Update Dockerfile updated --- Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b5cd60e..f5abf2e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,10 +7,13 @@ RUN npm install --unsafe-perm FROM node:8.11-slim MAINTAINER "Manojvv" "manojv@ilimi.in" -RUN echo "deb http://archive.debian.org/debian-security jessie/updates main" >> /etc/apt/sources.list.d/jessie.list - -RUN echo "deb http://archive.debian.org/debian jessie main" >> /etc/apt/sources.list.d/jessie.list -RUN apt update && apt install openssl imagemagick -y \ +# Use a local mirror for Debian Jessie +RUN echo "deb http://archive.debian.org/debian/ jessie main" > /etc/apt/sources.list +RUN echo "deb-src http://archive.debian.org/debian/ jessie main" >> /etc/apt/sources.list +RUN echo "deb http://archive.debian.org/debian-security/ jessie/updates main" >> /etc/apt/sources.list +RUN echo "deb-src http://archive.debian.org/debian-security/ jessie/updates main" >> /etc/apt/sources.list +RUN apt-get -o Acquire::Check-Valid-Until=false update +RUN apt install openssl imagemagick -y --force-yes \ && apt-get clean \ && useradd -m sunbird USER sunbird