Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Commit

Permalink
Echo command
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmcd committed Jun 27, 2018
1 parent 2e1fd17 commit f311e4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run-and-commit.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
set -e
echo "Running $@"
docker run -it $VOLUMES $@
TO_COMMIT=$(docker ps -aq | head -n 1 | awk '{print $1}')
docker commit $TO_COMMIT $1

0 comments on commit f311e4b

Please sign in to comment.