forked from waja/action-debian-package
main: print more stuff
This commit is contained in:
parent
3d7304bf7a
commit
423d9907fd
16
main.sh
16
main.sh
|
@ -17,6 +17,11 @@ distribution="$(dpkg-parsechangelog -S Distribution | sed 's/UNRELEASED/unstable
|
||||||
container="$package-$version"
|
container="$package-$version"
|
||||||
image="$os:$distribution"
|
image="$os:$distribution"
|
||||||
|
|
||||||
|
cat <<EOF
|
||||||
|
directory_runner=$directory_runner
|
||||||
|
directory_container=$directory_container
|
||||||
|
EOF
|
||||||
|
|
||||||
docker create \
|
docker create \
|
||||||
--tty \
|
--tty \
|
||||||
--name "$container" \
|
--name "$container" \
|
||||||
|
@ -28,9 +33,14 @@ docker create \
|
||||||
docker start \
|
docker start \
|
||||||
"$container"
|
"$container"
|
||||||
|
|
||||||
echo
|
echo -----------
|
||||||
docker exec $container ls -lha
|
pwd
|
||||||
echo
|
ls -lh
|
||||||
|
echo -----------
|
||||||
|
echo -----------
|
||||||
|
docker exec "$container" pwd
|
||||||
|
docker exec "$container" ls -lh
|
||||||
|
echo -----------
|
||||||
exit
|
exit
|
||||||
|
|
||||||
docker exec \
|
docker exec \
|
||||||
|
|
Loading…
Reference in a new issue