2016-11-03 16:11:11 -05:00
|
|
|
FROM docker-ptf
|
|
|
|
|
2017-02-16 23:48:49 -06:00
|
|
|
## Make apt-get non-interactive
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2016-11-03 16:11:11 -05:00
|
|
|
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
|