X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=validation.git;a=blobdiff_plain;f=docker%2Fhardware%2FDockerfile;h=a21cb64c42ed435efb4563d6f56334f6964b2cc8;hp=5b25e7686f4f6f24414d7f247426cb83c6115e99;hb=4d93fe98c3b9ad51882b65b4679ffa3cd768649a;hpb=49217bce754b187bf41208e6dc52112d3f2ba962 diff --git a/docker/hardware/Dockerfile b/docker/hardware/Dockerfile index 5b25e76..a21cb64 100644 --- a/docker/hardware/Dockerfile +++ b/docker/hardware/Dockerfile @@ -27,7 +27,8 @@ RUN apk --no-cache add --update \ libffi \ libffi-dev \ make \ - openssl-dev + openssl-dev \ + wget # Build binaries WORKDIR /wheels @@ -35,10 +36,17 @@ RUN pip3 install wheel RUN pip3 wheel -r /wheels/requirements/pip-requirements.txt RUN git clone https://gerrit.akraino.org/r/validation /opt/akraino/validation +RUN wget -qO- https://github.com/DMTF/Redfish-Test-Framework/archive/master.zip | \ + unzip -qd /opt/akraino - +RUN wget -qO- https://github.com/DMTF/Redfish-Usecase-Checkers/archive/master.zip | \ + unzip -qd /opt/akraino - + # Copy binaries in the final contaier and install robot framework FROM python:3.6-alpine3.9 COPY --from=build /wheels /wheels COPY --from=build /opt/akraino/validation /opt/akraino/validation +COPY --from=build /opt/akraino/Redfish-Test-Framework-master /opt/akraino/Redfish-Test-Framework +COPY --from=build /opt/akraino/Redfish-Usecase-Checkers-master /opt/akraino/Redfish-Usecase-Checkers RUN pip3 install -r /wheels/requirements/pip-requirements.txt \ -f /wheels && \ @@ -48,6 +56,10 @@ RUN pip3 install -r /wheels/requirements/pip-requirements.txt \ # Install blueval dependencies RUN pip install -r /opt/akraino/validation/bluval/requirements.txt +# Install Redfish dependencies +RUN pip install html-testRunner \ + -r /opt/akraino/Redfish-Usecase-Checkers/requirements.txt + # Install curl RUN apk --no-cache add --update \ curl