Fix redis container build 37/83737/2
authorVijay Venkatesh Kumar <vv770d@att.com>
Fri, 29 Mar 2019 06:42:10 +0000 (06:42 +0000)
committerVijay Venkatesh Kumar <vv770d@att.com>
Fri, 29 Mar 2019 07:16:22 +0000 (07:16 +0000)
Change-Id: I7e6c4900c0e60843ca0478d688640300a349385c
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1270

redis-cluster-container/Dockerfile

index 082b272..41dbce3 100644 (file)
@@ -1,5 +1,5 @@
 # ================================================================================
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2018-2019 AT&T Intellectual Property. 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.
@@ -15,7 +15,9 @@
 # ============LICENSE_END=========================================================
 FROM redis:4.0.8
 ENV DEBIAN_FRONTEND noninteractive
-RUN apt-get -y update \
+RUN echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
+RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list
+RUN apt-get -y -o Acquire::Check-Valid-Until=false update \
   && apt-get -y upgrade \
   && apt-get -y --no-install-recommends install ruby wget jq \
   && gem install redis -v 3.3.5 \