Fetch and unzip Linaro's platform files

Currently, the builders.sh [1] script fetches Linaro's platform files
everytime a job runs but this can be avoided if the latter are already
present on the image.

[1] https://git.trustedfirmware.org/ci/tf-a-job-configs.git/tree/tf-a-builder/builders.sh

Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org>
Change-Id: I8736a73231111ae3304965268723b431013ab69d
diff --git a/bionic-amd64-tf-m-build/Dockerfile b/bionic-amd64-tf-m-build/Dockerfile
index 66bcd9d..8956b8c 100644
--- a/bionic-amd64-tf-m-build/Dockerfile
+++ b/bionic-amd64-tf-m-build/Dockerfile
@@ -131,5 +131,11 @@
            -d ${TOOLS_DIR} ;\
     rm -rf ${ARM_CLANG_INSTALL_DIR} /tmp/${ARM_CLANG_TAR}
 
+ARG LINARO_VERSION=19.06
+RUN mkdir -p nfs/downloads/linaro/${LINARO_VERSION} ;\
+    cd nfs/downloads/linaro/${LINARO_VERSION} ;\
+    wget -q -c -m -A .zip -np -nd https://releases.linaro.org/members/arm/platforms/${LINARO_VERSION}/ ;\
+    for file in *.zip; do unzip -q ${file} -d $(basename ${file} .zip); done
+
 EXPOSE 22
 ENTRYPOINT ["/usr/sbin/setup-sshd"]