Skip to content

Commit

Permalink
Add debug command to docker-entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
blag committed Jul 26, 2020
1 parent 1512f9b commit a101865
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packagingenv/bionic/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ build)
dpkg-buildpackage -b -uc -us
cp ../*.{deb,changes} $ARTIFACT_DIR
;;
/bin/bash)
/bin/bash
;;
*)
[[ $# -gt 0 ]] && exec "$@"
;;
Expand Down
3 changes: 3 additions & 0 deletions packagingenv/centos7/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ build)
rpmbuild -bb rpm/st2chatops.spec
cp ../*.rpm $ARTIFACT_DIR
;;
/bin/bash)
/bin/bash
;;
*)
[[ $# -gt 0 ]] && exec "$@"
;;
Expand Down
3 changes: 3 additions & 0 deletions packagingenv/centos8/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ build)
rpmbuild -bb rpm/st2chatops.spec
cp ../*.rpm $ARTIFACT_DIR
;;
/bin/bash)
/bin/bash
;;
*)
[[ $# -gt 0 ]] && exec "$@"
;;
Expand Down
3 changes: 3 additions & 0 deletions packagingenv/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ test)
complete)
echo complete
;;
/bin/bash)
/bin/bash
;;
*)
[[ $# -gt 0 ]] && exec "$@"
;;
Expand Down
3 changes: 3 additions & 0 deletions packagingenv/xenial/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ build)
dpkg-buildpackage -b -uc -us
cp ../*.{deb,changes} $ARTIFACT_DIR
;;
/bin/bash)
/bin/bash
;;
*)
[[ $# -gt 0 ]] && exec "$@"
;;
Expand Down

0 comments on commit a101865

Please sign in to comment.