summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2019-03-29 06:42:10 +0000
committerVijay Venkatesh Kumar <vv770d@att.com>2019-03-29 07:16:22 +0000
commit5d9b841b815dd7a6b4f0e06b2da0074a9d268530 (patch)
tree9bd8771e24fa44bd0ce61f2bd585a4211e192f24
parent205fc2e449f9bcc2f447c58d2bd15e9b563237d3 (diff)
Fix redis container build
Change-Id: I7e6c4900c0e60843ca0478d688640300a349385c Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1270
-rw-r--r--redis-cluster-container/Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/redis-cluster-container/Dockerfile b/redis-cluster-container/Dockerfile
index 082b272..41dbce3 100644
--- a/redis-cluster-container/Dockerfile
+++ b/redis-cluster-container/Dockerfile
@@ -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 \