entrypoint.sh: Update help text so that current image name is used

xref https://github.com/dockbuild/dockbuild/issues/30
This commit is contained in:
Jean-Christophe Fillion-Robin 2018-03-29 04:43:26 -04:00
parent bad2204ccc
commit b7028af76e
No known key found for this signature in database
GPG Key ID: A50C0312039D473C

View File

@ -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