From 33fc1029fdf72d5f1071dbba05bcecd38a611c0a Mon Sep 17 00:00:00 2001 From: aptalca Date: Tue, 1 Dec 2020 14:00:22 -0500 Subject: [PATCH] minor edits --- Dockerfile | 2 +- root/etc/cont-init.d/98-opencl-intel | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6e43798..58b67cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN \ echo "**** grab debs ****" && \ mkdir -p /root-layer/opencl-intel && \ for i in $COMP_RT_URLS; do \ - echo "downloading ${i%$'\r'}" && \ + echo "**** downloading ${i%$'\r'} ****" && \ curl -o /root-layer/opencl-intel/$(basename "${i%$'\r'}") \ -L "${i%$'\r'}"; \ done diff --git a/root/etc/cont-init.d/98-opencl-intel b/root/etc/cont-init.d/98-opencl-intel index 3cc6779..2fc4d82 100644 --- a/root/etc/cont-init.d/98-opencl-intel +++ b/root/etc/cont-init.d/98-opencl-intel @@ -2,25 +2,24 @@ # Determine if setup is needed if [ ! -f "/usr/bin/apt" ]; then - echo "Image is not Ubuntu, skipping opencl-intel install" + echo "**** Image is not Ubuntu, skipping opencl-intel install ****" exit 0 fi if [ $(uname -m) != "x86_64" ]; then - echo "Opencl-intel only works on X86_64, skipping" + echo "**** Opencl-intel only works on X86_64, skipping ****" exit 0 fi -echo "installing clinfo" +echo "**** Installing clinfo ****" apt-get update apt-get install -y \ clinfo if [ -d /opencl-intel ]; then - echo "Installing/updating opencl-intel debs" - cd /opencl-intel + echo "**** Installing/updating opencl-intel debs ****" dpkg -i /opencl-intel/*.deb rm -rf /opencl-intel else - echo "Opencl-intel already installed" + echo "**** Opencl-intel already installed ****" fi