Skip to content

Commit 7e273d5

Browse files
pavel-shirshovlguohan
authored andcommitted
Install redis-tools in the base image
1 parent c4c0499 commit 7e273d5

File tree

5 files changed

+10
-25
lines changed

5 files changed

+10
-25
lines changed

dockers/docker-base-stretch/Dockerfile.j2

+7-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,13 @@ RUN apt-get update && \
4747
vim-tiny \
4848
# Install dependencies of supervisor
4949
python-pkg-resources \
50-
python-meld3
50+
python-meld3 \
51+
# dependencies of redis-tools
52+
libatomic1 \
53+
libjemalloc1 \
54+
liblua5.1-0 \
55+
lua-bitop \
56+
lua-cjson
5157

5258
{% if CONFIGURED_ARCH == "armhf" %}
5359
# ip and ifconfig utility missing in docker for armhf

dockers/docker-orchagent/Dockerfile.j2

-7
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@ RUN apt-get update && \
1818
iproute2 \
1919
ndisc6 \
2020
tcpdump \
21-
# Install redis-tools dependencies
22-
# TODO: implicitly install dependencies
23-
libatomic1 \
24-
libjemalloc1 \
25-
liblua5.1-0 \
26-
lua-bitop \
27-
lua-cjson \
2821
libelf1 \
2922
libmnl0 \
3023
bridge-utils

dockers/docker-sonic-telemetry/Dockerfile.j2

+1-8
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,7 @@ RUN apt-get update && \
1111
apt-get install -f -y \
1212
libdbus-1-3 \
1313
libdaemon0 \
14-
libjansson4 \
15-
# Install redis-tools dependencies
16-
# TODO: implicitly install dependencies
17-
libatomic1 \
18-
libjemalloc1 \
19-
liblua5.1-0 \
20-
lua-bitop \
21-
lua-cjson
14+
libjansson4
2215

2316
{% if docker_sonic_telemetry_debs.strip() -%}
2417
# Copy locally-built Debian package dependencies

dockers/docker-teamd/Dockerfile.j2

+1-8
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,7 @@ RUN apt-get update && \
1212
libdbus-1-3 \
1313
libdaemon0 \
1414
libjansson4 \
15-
libpython2.7 \
16-
# Install redis-tools dependencies
17-
# TODO: implicitly install dependencies
18-
libatomic1 \
19-
libjemalloc1 \
20-
liblua5.1-0 \
21-
lua-bitop \
22-
lua-cjson
15+
libpython2.7
2316

2417
{% if docker_teamd_debs.strip() -%}
2518
# Copy locally-built Debian package dependencies

rules/docker-base-stretch.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
DOCKER_BASE_STRETCH = docker-base-stretch.gz
44
$(DOCKER_BASE_STRETCH)_PATH = $(DOCKERS_PATH)/docker-base-stretch
5-
$(DOCKER_BASE_STRETCH)_DEPENDS += $(SUPERVISOR)
5+
$(DOCKER_BASE_STRETCH)_DEPENDS += $(SUPERVISOR) $(REDIS_TOOLS)
66
$(DOCKER_BASE_STRETCH)_DEPENDS += $(SOCAT)
77

88
GDB = gdb

0 commit comments

Comments
 (0)