File tree 9 files changed +10
-52
lines changed
platform/vs/docker-sonic-vs
9 files changed +10
-52
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,12 @@ RUN apt-get update && \
54
54
libjemalloc1 \
55
55
liblua5.1-0 \
56
56
lua-bitop \
57
- lua-cjson
57
+ lua-cjson \
58
+ # common dependencies
59
+ libpython2.7 \
60
+ libdaemon0 \
61
+ libdbus-1-3 \
62
+ libjansson4
58
63
59
64
# ip and ifconfig utility missing in docker for arm arch
60
65
RUN apt-get -y install \
Original file line number Diff line number Diff line change @@ -14,12 +14,8 @@ ENV DEBIAN_FRONTEND=noninteractive
14
14
# Install required packages
15
15
RUN apt-get update && \
16
16
apt-get install -y \
17
- libdbus-1-3 \
18
- libdaemon0 \
19
- libjansson4 \
20
17
libc-ares2 \
21
18
iproute2 \
22
- libpython2.7 \
23
19
libjson-c3 \
24
20
logrotate \
25
21
libunwind8
Original file line number Diff line number Diff line change @@ -7,20 +7,8 @@ RUN [ -f /etc/rsyslog.conf ] && sed -ri "s/%syslogtag%/$docker_container_name#%s
7
7
## Make apt-get non-interactive
8
8
ENV DEBIAN_FRONTEND=noninteractive
9
9
10
- RUN apt-get update && \
11
- apt-get install -f -y \
12
- libdbus-1-3 \
13
- libdaemon0 \
14
- libpython2.7 \
15
- # Install redis-tools dependencies
16
- # TODO: implicitly install dependencies
17
- libatomic1 \
18
- libjemalloc1 \
19
- liblua5.1-0 \
20
- lua-bitop \
21
- lua-cjson
22
-
23
- RUN apt-get -y install ebtables
10
+ RUN apt-get update && \
11
+ apt-get install -y ebtables
24
12
RUN apt-get -y install -f kmod
25
13
26
14
COPY \
Original file line number Diff line number Diff line change @@ -13,15 +13,6 @@ ENV DEBIAN_FRONTEND=noninteractive
13
13
## TODO: implicitly install dependencies
14
14
RUN apt-get update \
15
15
&& apt-get install -f -y \
16
- libdbus-1-3 \
17
- libdaemon0 \
18
- libjansson4 \
19
- libpython2.7 \
20
- libatomic1 \
21
- libjemalloc1 \
22
- liblua5.1-0 \
23
- lua-bitop \
24
- lua-cjson \
25
16
libelf1 \
26
17
libmnl0 \
27
18
bridge-utils \
Original file line number Diff line number Diff line change @@ -11,10 +11,6 @@ RUN apt-get update && \
11
11
apt-get install -f -y \
12
12
ifupdown \
13
13
arping \
14
- libdbus-1-3 \
15
- libdaemon0 \
16
- libjansson4 \
17
- libpython2.7 \
18
14
iproute2 \
19
15
ndisc6 \
20
16
tcpdump \
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ ENV DEBIAN_FRONTEND=noninteractive
11
11
RUN apt-get update && \
12
12
apt-get install -y \
13
13
python-pip \
14
- libpython2.7 \
15
14
ipmitool \
16
15
librrd8 \
17
16
librrd-dev \
Original file line number Diff line number Diff line change @@ -7,11 +7,7 @@ RUN [ -f /etc/rsyslog.conf ] && sed -ri "s/%syslogtag%/$docker_container_name#%s
7
7
## Make apt-get non-interactive
8
8
ENV DEBIAN_FRONTEND=noninteractive
9
9
10
- RUN apt-get update && \
11
- apt-get install -f -y \
12
- libdbus-1-3 \
13
- libdaemon0 \
14
- libjansson4
10
+ RUN apt-get update
15
11
16
12
{% if docker_sonic_telemetry_debs .strip () -%}
17
13
# Copy locally-built Debian package dependencies
Original file line number Diff line number Diff line change @@ -7,12 +7,7 @@ RUN [ -f /etc/rsyslog.conf ] && sed -ri "s/%syslogtag%/$docker_container_name#%s
7
7
## Make apt-get non-interactive
8
8
ENV DEBIAN_FRONTEND=noninteractive
9
9
10
- RUN apt-get update && \
11
- apt-get install -f -y \
12
- libdbus-1-3 \
13
- libdaemon0 \
14
- libjansson4 \
15
- libpython2.7
10
+ RUN apt-get update
16
11
17
12
{% if docker_teamd_debs .strip () -%}
18
13
# Copy locally-built Debian package dependencies
Original file line number Diff line number Diff line change @@ -27,18 +27,10 @@ RUN apt-get install -y net-tools \
27
27
libboost-thread1.62.0 \
28
28
libgmp10 \
29
29
libjudydebian1 \
30
- libdaemon0 \
31
- libjansson4 \
32
- libatomic1 \
33
- libjemalloc1 \
34
- liblua5.1-0 \
35
- lua-bitop \
36
- lua-cjson \
37
30
openssh-client \
38
31
openssh-server \
39
32
libc-ares2 \
40
33
iproute \
41
- libpython2.7 \
42
34
grub2-common \
43
35
python-click-default-group \
44
36
python-click \
You can’t perform that action at this time.
0 commit comments