@@ -3,9 +3,13 @@ FROM docker-config-engine
3
3
## Make apt-get non-interactive
4
4
ENV DEBIAN_FRONTEND=noninteractive
5
5
6
+ COPY ["sonic-dev.gpg.key", "/etc/apt/"]
7
+ RUN apt-key add /etc/apt/sonic-dev.gpg.key
8
+ RUN echo "deb http://packages.microsoft.com/repos/sonic-dev/ jessie main" >> /etc/apt/sources.list
6
9
RUN apt-get update
7
10
8
11
RUN apt-get install -y net-tools \
12
+ arping \
9
13
ethtool \
10
14
tcpdump \
11
15
ifupdown \
@@ -26,7 +30,15 @@ RUN apt-get install -y net-tools \
26
30
openssh-server \
27
31
libc-ares2 \
28
32
iproute \
29
- libpython2.7
33
+ libpython2.7 \
34
+ grub2-common \
35
+ python-click-default-group \
36
+ python-click \
37
+ python-natsort \
38
+ python-tabulate \
39
+ bash-completion \
40
+ libelf1 \
41
+ libmnl0
30
42
31
43
RUN pip install setuptools
32
44
RUN pip install py2_ipaddress
@@ -51,14 +63,18 @@ RUN sed -ri 's/^(save .*$)/# \1/g;
51
63
s/^logfile .*$/logfile ""/; \
52
64
s/^# syslog-enabled no$/syslog-enabled no/; \
53
65
s/^# unixsocket/unixsocket/; \
66
+ s/notify-keyspace-events ""/notify-keyspace-events AKE/; \
54
67
s/^client-output-buffer-limit pubsub [0-9]+mb [0-9]+mb [0-9]+/client-output-buffer-limit pubsub 0 0 0/ \
55
68
' /etc/redis/redis.conf
56
69
57
70
COPY ["50-default.conf", "/etc/rsyslog.d/"]
58
71
COPY ["start.sh", "orchagent.sh", "/usr/bin/"]
59
72
COPY ["brcm.profile.ini", "/usr/share/sonic/device/vswitch/"]
60
73
COPY ["supervisord.conf", "/etc/supervisor/conf.d/"]
74
+ COPY ["files/configdb-load.sh", "/usr/bin/"]
75
+ COPY ["files/arp_update", "/usr/bin"]
61
76
62
77
RUN echo "docker-sonic-vs" > /etc/hostname
78
+ RUN touch /etc/quagga/zebra.conf
63
79
64
80
ENTRYPOINT ["/usr/bin/supervisord"]
0 commit comments