From b7028af76e934d212df23bac2d6e34af686ed4f3 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Thu, 29 Mar 2018 04:43:26 -0400 Subject: [PATCH] entrypoint.sh: Update help text so that current image name is used xref https://github.com/dockbuild/dockbuild/issues/30 --- imagefiles/entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/imagefiles/entrypoint.sh b/imagefiles/entrypoint.sh index b4dcab0..96cbaca 100755 --- a/imagefiles/entrypoint.sh +++ b/imagefiles/entrypoint.sh @@ -9,7 +9,9 @@ if [[ $# == 0 ]]; then if [[ -n $DEFAULT_DOCKCROSS_IMAGE ]]; then head -n 2 /dockcross/dockcross echo "DEFAULT_DOCKCROSS_IMAGE=$DEFAULT_DOCKCROSS_IMAGE" - tail -n +4 /dockcross/dockcross + tail -n +4 /dockcross/dockcross | + sed -e "s@dockcross\/linux\-armv7@${DEFAULT_DOCKCROSS_IMAGE}@g" | + sed -e "s@dockcross\-linux\-armv7@${DEFAULT_DOCKCROSS_IMAGE//\//-}@g" else cat /dockcross/dockcross fi