forked from sonic-net/sonic-restapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.common.prod
31 lines (25 loc) · 930 Bytes
/
Dockerfile.common.prod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM debian:jessie
MAINTAINER [email protected]
## Make apt-get non-interactive
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y \
vim \
curl \
netcat-openbsd \
iproute2 \
supervisor
COPY debs /debs
RUN dpkg -i /debs/libhiredis0.13_0.13.3-2_amd64.deb \
&& dpkg -i /debs/libhiredis-dev_0.13.3-2_amd64.deb \
&& dpkg -i /debs/libnl-3-200_3.2.27-1_amd64.deb \
&& dpkg -i /debs/libnl-genl-3-200_3.2.27-1_amd64.deb \
&& dpkg -i /debs/libnl-route-3-200_3.2.27-1_amd64.deb \
&& dpkg -i /debs/libswsscommon_1.0.0_amd64.deb \
&& dpkg -i /debs/libswsscommon-dev_1.0.0_amd64.deb \
&& dpkg -i /debs/sonic-rest-api_1.0.1_amd64.deb \
&& dpkg -i /debs/arpresponder-bm_1.0.0_amd64.deb \
&& dpkg -i /debs/arpresponder-msee_1.0.0_amd64.deb
RUN rm -fr /debs
COPY supervisor/supervisor.conf /etc/supervisor/conf.d/
ENTRYPOINT ["/usr/bin/supervisord"]