Skip to content

Commit 5c7ce1a

Browse files
authored
Merge pull request #11 from smellman/dev-10
fixes ./services create and ./services hello-world to work on a wider variety of platforms
2 parents 10507f6 + afab5d1 commit 5c7ce1a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

services

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ case "${command}" in
6969
startingContainers;
7070
;;
7171
"hello-world")
72+
export $(cat .env | grep "#" -v)
7273
stoppingContainers;
7374
echo -e "Starting containers: - \033[1;35mKurento\033[0m and \033[1mKurento-Examples (hello-world)\033[0m"
7475
${dockerCmd} -f docker-compose/kurento.yml up -d --remove-orphans
@@ -107,7 +108,8 @@ case "${command}" in
107108
export $(cat .env | grep "#" -v)
108109
echo "Pulling Docker images"
109110
docker pull curlimages/curl
110-
${dockerCmd} -f docker-compose/kurento.yml pull
111-
${dockerCmd} -f docker-compose/kurento-with-filters.yml pull
111+
${dockerCmd} -f docker-compose/kurento.yml build kurento-examples
112+
${dockerCmd} -f docker-compose/kurento.yml pull kurento
113+
${dockerCmd} -f docker-compose/kurento-with-filters.yml build
112114
;;
113115
esac

0 commit comments

Comments
 (0)