create-model-dockerfile.sh: Pass original tarball name to Dockerfile
There're >1 tarball naming patterns as of now, so approach of
(lossly) deconstructing tarball name into parts and then
reconstructing it no longer works. Just use the original name,
voila.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: Ibe6f0aba1154400612c58f0bf7aa84ac1b5716f7
diff --git a/dockerfile-template b/dockerfile-template
index 97485c3..b518e19 100644
--- a/dockerfile-template
+++ b/dockerfile-template
@@ -29,7 +29,7 @@
# Add the FVP model tarball
# NOTE: some tarballs contain an installer script others don't, so it may be the case
# that the ADD instruction do install the model under /opt/model
-ADD ${MODEL}_${MODEL_VER}.tgz .
+ADD ${TARBALL} .
# Install packages and model
RUN ${MODEL_DIR}/${MODEL}.sh \