X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Ftestbed-setup%2Fansible%2Froles%2Fcsit_sut_image%2Ffiles%2FDockerfile;fp=resources%2Ftools%2Fdisk-image-builder%2Fcsit-sut%2FDockerfile;h=6dddad6ebb62bba87db1f8b252fd15cc2f595c36;hp=aa5ddf288d8fbab56fcd2d5a909185c603099cd9;hb=77e7e83ef517bd804cbe5ff75193767c5c400581;hpb=1e149e65b7ee02ad5235e4b3c61102ce7d5d89ff diff --git a/resources/tools/disk-image-builder/csit-sut/Dockerfile b/resources/tools/testbed-setup/ansible/roles/csit_sut_image/files/Dockerfile similarity index 96% rename from resources/tools/disk-image-builder/csit-sut/Dockerfile rename to resources/tools/testbed-setup/ansible/roles/csit_sut_image/files/Dockerfile index aa5ddf288d..6dddad6ebb 100644 --- a/resources/tools/disk-image-builder/csit-sut/Dockerfile +++ b/resources/tools/testbed-setup/ansible/roles/csit_sut_image/files/Dockerfile @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -12,9 +12,8 @@ # limitations under the License. FROM ubuntu:18.04 -MAINTAINER csit-dev LABEL Description="CSIT vpp-device ubuntu 18.04 SUT image" -LABEL Version="1.0" +LABEL Version="master" # Setup the environment ENV DEBIAN_FRONTEND=noninteractive @@ -57,6 +56,7 @@ RUN apt-get -q update \ python-cffi \ python-cffi-backend \ python-dev \ + python-enum34 \ python-pip \ python-setuptools \ python-virtualenv \ @@ -114,11 +114,9 @@ RUN pip3 install \ scapy==2.4.3 \ scp==0.13.2 \ ansible==2.7.8 \ - ply==3.11 \ dill==0.2.8.2 \ numpy==1.17.3 \ hdrhistogram==0.6.1 \ - pandas==0.25.3 \ plotly==4.1.1 \ PTable==0.9.2 \ Sphinx==2.2.1 \ @@ -158,7 +156,9 @@ RUN pip3 install \ urllib3==1.25.6 # ARM workaround -RUN pip3 install scipy==1.1.0 +RUN pip3 install \ + pandas==0.25.3 \ + scipy==1.1.0 # SSH settings RUN echo 'root:Csit1234' | chpasswd \ @@ -170,4 +170,4 @@ EXPOSE 2222 COPY supervisord.conf /etc/supervisor/supervisord.conf -CMD ["sh", "-c", "rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api; /usr/bin/supervisord -c /etc/supervisor/supervisord.conf; /usr/sbin/sshd -D -p 2222"] +CMD ["sh", "-c", "rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api; /usr/bin/supervisord -c /etc/supervisor/supervisord.conf; /usr/sbin/sshd -D -p 2222"] \ No newline at end of file