This commit is contained in:
parent
ac03f07d63
commit
397cb4d4be
1 changed files with 4 additions and 1 deletions
5
build.sh
5
build.sh
|
@ -47,6 +47,9 @@ container="${domain}/${image}:${tag}"
|
||||||
# docker build -t "$container" .
|
# docker build -t "$container" .
|
||||||
#
|
#
|
||||||
# docker push "$container"
|
# docker push "$container"
|
||||||
|
|
||||||
|
release="$(cat /etc/os-release)"
|
||||||
|
|
||||||
echo "Would push $container"
|
echo "Would push $container"
|
||||||
|
|
||||||
echo "is docker installed?"
|
echo "is docker installed?"
|
||||||
|
@ -57,8 +60,8 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "What is the hostname? What is path?"
|
echo "What is the hostname? What is path?"
|
||||||
|
|
||||||
echo "HOSTNAME: $(hostname)"
|
echo "HOSTNAME: $(hostname)"
|
||||||
echo "USER: $(whoami)"
|
echo "USER: $(whoami)"
|
||||||
echo "PATH: ${PATH}"
|
echo "PATH: ${PATH}"
|
||||||
echo "IDS: $(id)"
|
echo "IDS: $(id)"
|
||||||
|
echo "${release}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue