sonic-buildimage/dockers/docker-ptf-saithrift/Dockerfile
pavel-shirshov a845740543 [All Dockerfiles]: Prevent apt asking questions on the console (#300)
Add noninteractive setting into every Dockerfile in the repo

Signed-off-by: Pavel Shirshov pavelsh@microsoft.com
2017-02-16 21:48:49 -08:00

16 lines
391 B
Docker

FROM docker-ptf
## Make apt-get non-interactive
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
COPY ["deps/saithrift-0.9.tar.gz", "/deps/"]
COPY ["*.ini", "/etc/ptf/"]
COPY ["deps/SAI/test/saithrift/tests/*", "/usr/share/ptf-tests/"]
RUN tar xzf /deps/saithrift-0.9.tar.gz -C /usr/share/; \
cd usr/share/saithrift-0.9; \
python setup.py install; \
rm -rf /deps