Updated dockerfiles and min toolset image
- toolset divided to min and full
- new qa-daemonset.yaml to work with node's networks and run checks
Related-PROD: PROD-36128
Change-Id: I0acd5281c3ce7c3577f507110c29984bcec01053
diff --git a/k8s/docker-mos-toolset-min b/k8s/docker-mos-toolset-min
new file mode 100644
index 0000000..4df71b4
--- /dev/null
+++ b/k8s/docker-mos-toolset-min
@@ -0,0 +1,33 @@
+FROM ubuntu:20.04
+
+MAINTAINER Alex Savatieiev (a.savex@gmail.com)
+
+WORKDIR /opt
+RUN export TZ="America/Chicago" && \
+ ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
+ apt-get update && \
+ apt-get install -y make gcc g++ git libaio-dev libaio1 zlib1g-dev && \
+ apt-get install -y python3-pip python3-venv vim iperf3 mtr htop iputils-ping traceroute tcpdump wget iproute2 curl screen && \
+ git clone --depth 1 --branch fio-3.26 https://github.com/axboe/fio.git && \
+ cd /opt/fio && \
+ ./configure && \
+ make && \
+ make install && \
+ cd /opt && \
+ rm -rf /opt/fio && \
+ apt --yes remove gcc g++ && \
+ apt autoremove --yes && \
+ rm -rf /var/lib/apt/lists/*
+
+RUN pip3 install --no-cache-dir python-openstackclient python-neutronclient python-heatclient pyghmi python-octaviaclient tempestparser python-ironicclient aodhclient gnocchiclient
+
+RUN mkdir /opt/packages/ && \
+ cd /opt/packages && \
+ apt-get download $(apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances iperf3 | grep "^\w" | sort -u) || true
+
+RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \
+ install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl && \
+ rm kubectl
+
+ENTRYPOINT ["sleep infinite"]
+