aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval@linaro.org>2021-07-05 14:48:14 -0500
committerLeonardo Sandoval <leonardo.sandoval@linaro.org>2021-07-05 14:48:59 -0500
commit1a3552be24c9b5df04151f25f29e697b20a547f9 (patch)
tree32a068124a08525daab758e9f5b4aaa180cb2366
parent3ae63bcef4e5836a07787eba79ef489358f0d0d1 (diff)
downloaddockerfiles-master.tar.gz
bionic-amd64-fvp: include several Cortex-A 11.15_14 modelsHEADmaster
TF-A CI scripts is moving into 11.15_14 model versions, so create the corresponding containers. Models included * Armv-A Base AEM FVP FOC Silver Base: https://silver.arm.com/browse/FM000 FVP: https://silver.arm.com/download/download.tm?pv=4858061&p=3042387 * Armv-A Foundation Model Silver Base: https://silver.arm.com/browse/FM00A FVP: https://silver.arm.com/download/download.tm?pv=4858054&p=1238185 * Fast Model Fixed Virtual Platforms lin64 Silver Base: https://silver.arm.com/browse/FM000 https://silver.arm.com/download/download.tm?pv=4858079&p=3785926 Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: I756f7bf78fc89947afdb5d72193c7a459c225fa4
-rw-r--r--bionic-amd64-fvp/foundation_platform_11.15_14/Dockerfile41
-rwxr-xr-xbionic-amd64-fvp/foundation_platform_11.15_14/setup-sshd9
-rw-r--r--bionic-amd64-fvp/fvp_arm_std_library_11.15_14/Dockerfile41
-rwxr-xr-xbionic-amd64-fvp/fvp_arm_std_library_11.15_14/setup-sshd9
-rw-r--r--bionic-amd64-fvp/fvp_base_revc-2xaemva_11.15_14/Dockerfile41
-rwxr-xr-xbionic-amd64-fvp/fvp_base_revc-2xaemva_11.15_14/setup-sshd9
6 files changed, 150 insertions, 0 deletions
diff --git a/bionic-amd64-fvp/foundation_platform_11.15_14/Dockerfile b/bionic-amd64-fvp/foundation_platform_11.15_14/Dockerfile
new file mode 100644
index 0000000..625d873
--- /dev/null
+++ b/bionic-amd64-fvp/foundation_platform_11.15_14/Dockerfile
@@ -0,0 +1,41 @@
+FROM ubuntu:bionic as FVP
+
+ENV DEBIAN_FRONTEND=noninteractive
+ENV PKG_DEPS="\
+ bc \
+ ca-certificates \
+ curl \
+ libatomic1 \
+ libdbus-1-3 \
+ openssh-server \
+ telnet \
+ xterm \
+"
+
+RUN set -e ;\
+ apt update -q=2 ;\
+ apt full-upgrade -q=2 --yes ;\
+ apt install -q=2 --yes --no-install-recommends ${PKG_DEPS} ;\
+ # Cleanup
+ apt clean ;\
+ rm -rf /var/lib/apt/lists/* /tmp/*
+
+FROM FVP
+
+WORKDIR /opt/model
+
+COPY setup-sshd /usr/sbin/setup-sshd
+
+# 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 Foundation_Platform_11.15_14.tgz .
+
+# Install packages and model
+RUN /opt/model/Foundation_Platform.sh \
+ --i-agree-to-the-contained-eula \
+ --verbose \
+ --destination /opt/model/Foundation_Platform && rm -f /opt/model/Foundation_Platform.sh || true
+
+EXPOSE 22
+ENTRYPOINT ["/usr/sbin/setup-sshd"]
diff --git a/bionic-amd64-fvp/foundation_platform_11.15_14/setup-sshd b/bionic-amd64-fvp/foundation_platform_11.15_14/setup-sshd
new file mode 100755
index 0000000..3cd9657
--- /dev/null
+++ b/bionic-amd64-fvp/foundation_platform_11.15_14/setup-sshd
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+passwd -d root
+echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
+echo "PermitEmptyPasswords yes" >> /etc/ssh/sshd_config
+mkdir -p /var/run/sshd
+/usr/sbin/sshd -D &
+
+exec "$@"
diff --git a/bionic-amd64-fvp/fvp_arm_std_library_11.15_14/Dockerfile b/bionic-amd64-fvp/fvp_arm_std_library_11.15_14/Dockerfile
new file mode 100644
index 0000000..24674bb
--- /dev/null
+++ b/bionic-amd64-fvp/fvp_arm_std_library_11.15_14/Dockerfile
@@ -0,0 +1,41 @@
+FROM ubuntu:bionic as FVP
+
+ENV DEBIAN_FRONTEND=noninteractive
+ENV PKG_DEPS="\
+ bc \
+ ca-certificates \
+ curl \
+ libatomic1 \
+ libdbus-1-3 \
+ openssh-server \
+ telnet \
+ xterm \
+"
+
+RUN set -e ;\
+ apt update -q=2 ;\
+ apt full-upgrade -q=2 --yes ;\
+ apt install -q=2 --yes --no-install-recommends ${PKG_DEPS} ;\
+ # Cleanup
+ apt clean ;\
+ rm -rf /var/lib/apt/lists/* /tmp/*
+
+FROM FVP
+
+WORKDIR /opt/model
+
+COPY setup-sshd /usr/sbin/setup-sshd
+
+# 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 FVP_ARM_Std_Library_11.15_14.tgz .
+
+# Install packages and model
+RUN /opt/model/FVP_ARM_Std_Library.sh \
+ --i-agree-to-the-contained-eula \
+ --verbose \
+ --destination /opt/model/FVP_ARM_Std_Library && rm -f /opt/model/FVP_ARM_Std_Library.sh || true
+
+EXPOSE 22
+ENTRYPOINT ["/usr/sbin/setup-sshd"]
diff --git a/bionic-amd64-fvp/fvp_arm_std_library_11.15_14/setup-sshd b/bionic-amd64-fvp/fvp_arm_std_library_11.15_14/setup-sshd
new file mode 100755
index 0000000..3cd9657
--- /dev/null
+++ b/bionic-amd64-fvp/fvp_arm_std_library_11.15_14/setup-sshd
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+passwd -d root
+echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
+echo "PermitEmptyPasswords yes" >> /etc/ssh/sshd_config
+mkdir -p /var/run/sshd
+/usr/sbin/sshd -D &
+
+exec "$@"
diff --git a/bionic-amd64-fvp/fvp_base_revc-2xaemva_11.15_14/Dockerfile b/bionic-amd64-fvp/fvp_base_revc-2xaemva_11.15_14/Dockerfile
new file mode 100644
index 0000000..4ad3f16
--- /dev/null
+++ b/bionic-amd64-fvp/fvp_base_revc-2xaemva_11.15_14/Dockerfile
@@ -0,0 +1,41 @@
+FROM ubuntu:bionic as FVP
+
+ENV DEBIAN_FRONTEND=noninteractive
+ENV PKG_DEPS="\
+ bc \
+ ca-certificates \
+ curl \
+ libatomic1 \
+ libdbus-1-3 \
+ openssh-server \
+ telnet \
+ xterm \
+"
+
+RUN set -e ;\
+ apt update -q=2 ;\
+ apt full-upgrade -q=2 --yes ;\
+ apt install -q=2 --yes --no-install-recommends ${PKG_DEPS} ;\
+ # Cleanup
+ apt clean ;\
+ rm -rf /var/lib/apt/lists/* /tmp/*
+
+FROM FVP
+
+WORKDIR /opt/model
+
+COPY setup-sshd /usr/sbin/setup-sshd
+
+# 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 FVP_Base_RevC-2xAEMvA_11.15_14.tgz .
+
+# Install packages and model
+RUN /opt/model/FVP_Base_RevC-2xAEMvA.sh \
+ --i-agree-to-the-contained-eula \
+ --verbose \
+ --destination /opt/model/FVP_Base_RevC-2xAEMvA && rm -f /opt/model/FVP_Base_RevC-2xAEMvA.sh || true
+
+EXPOSE 22
+ENTRYPOINT ["/usr/sbin/setup-sshd"]
diff --git a/bionic-amd64-fvp/fvp_base_revc-2xaemva_11.15_14/setup-sshd b/bionic-amd64-fvp/fvp_base_revc-2xaemva_11.15_14/setup-sshd
new file mode 100755
index 0000000..3cd9657
--- /dev/null
+++ b/bionic-amd64-fvp/fvp_base_revc-2xaemva_11.15_14/setup-sshd
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+passwd -d root
+echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
+echo "PermitEmptyPasswords yes" >> /etc/ssh/sshd_config
+mkdir -p /var/run/sshd
+/usr/sbin/sshd -D &
+
+exec "$@"