mirror of
https://github.com/bitnami/containers.git
synced 2026-03-20 14:58:20 +08:00
tests: allow arguments to be passed to create_basic_container function
This commit is contained in:
@@ -32,7 +32,7 @@ cleanup_volumes_content() {
|
||||
}
|
||||
|
||||
create_basic_container(){
|
||||
docker run -d --name $CONTAINER_NAME $IMAGE_NAME; sleep $SLEEP_TIME
|
||||
docker run -d --name $CONTAINER_NAME "$@" $IMAGE_NAME; sleep $SLEEP_TIME
|
||||
}
|
||||
|
||||
# $1 is the command
|
||||
|
||||
Reference in New Issue
Block a user