diff --git a/docker/Makefile b/docker/Makefile index fbb691d..86e61fa 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -6,5 +6,5 @@ all: build .PHONY: build build: docker build \ - --tag="opensips/pyhton-opensips:$(OPENSIPS_DOCKER_TAG)" \ + --tag="opensips/python-opensips:$(OPENSIPS_DOCKER_TAG)" \ . diff --git a/docker/run.sh b/docker/run.sh index 4e975bd..13bb374 100755 --- a/docker/run.sh +++ b/docker/run.sh @@ -3,12 +3,13 @@ CMD=$1 shift -if [[ CMD == *.py ]]; then +if [[ $CMD == *.py ]]; then TOOL=python3 -elif [[ CMD == *.sh ]]; then +elif [[ $CMD == *.sh ]]; then TOOL=bash else TOOL=opensips-mi fi exec $TOOL $CMD "$@" +