@@ -8,22 +8,23 @@ export DEBUG=${DEBUG:-""}
88
99# build docker container based on python 2
1010${DEBUG} docker build --build-arg PYTHON_VERSION=2.7 --tag clowder/pyclowder:latest .
11- ${DEBUG} docker build --build-arg PYTHON_VERSION=2.7 --tag clowder/pyclowder:onbuild --file Dockerfile.onbuild .
12- ${DEBUG} docker build --build-arg PYTHON_VERSION=2.7 --tag clowder/extractors-binary-preview:onbuild sample-extractors/binary-preview
13- ${DEBUG} docker build --build-arg PYTHON_VERSION=2.7 --tag clowder/extractors-simple-extractor:onbuild sample-extractors/simple-extractor
14- ${DEBUG} docker build --build-arg PYTHON_VERSION=2.7 --tag clowder/extractors-simple-r-extractor:onbuild sample-extractors/simple-r-extractor
11+ ${DEBUG} docker build --build-arg PYCLOWDER_PYTHON= " " --tag clowder/pyclowder:onbuild --file Dockerfile.onbuild .
12+ ${DEBUG} docker build --build-arg PYCLOWDER_PYTHON= " " --tag clowder/extractors-binary-preview:onbuild sample-extractors/binary-preview
13+ ${DEBUG} docker build --build-arg PYCLOWDER_PYTHON= " " --tag clowder/extractors-simple-extractor:onbuild sample-extractors/simple-extractor
14+ ${DEBUG} docker build --build-arg PYCLOWDER_PYTHON= " " --tag clowder/extractors-simple-r-extractor:onbuild sample-extractors/simple-r-extractor
1515
1616# build docker container based on python 3
1717${DEBUG} docker build --build-arg PYTHON_VERSION=3.5 --tag clowder/pyclowder-python3:latest .
18- ${DEBUG} docker build --build-arg PYTHON_VERSION=3.5 --tag clowder/pyclowder-python3:onbuild --file Dockerfile.onbuild .
19- ${DEBUG} docker build --build-arg PYTHON_VERSION=3.5 --tag clowder/extractors-binary-preview-python3:onbuild sample-extractors/binary-preview
20- ${DEBUG} docker build --build-arg PYTHON_VERSION=3.5 --tag clowder/extractors-simple-extractor-python3:onbuild sample-extractors/simple-extractor
21- ${DEBUG} docker build --build-arg PYTHON_VERSION=3.5 --tag clowder/extractors-simple-r-extractor-python3:onbuild sample-extractors/simple-r-extractor
18+ ${DEBUG} docker build --build-arg PYCLOWDER_PYTHON=" -python3" --tag clowder/pyclowder-python3:onbuild --file Dockerfile.onbuild .
19+ ${DEBUG} docker build --build-arg PYCLOWDER_PYTHON=" -python3" --tag clowder/extractors-binary-preview-python3:onbuild sample-extractors/binary-preview
20+ ${DEBUG} docker build --build-arg PYCLOWDER_PYTHON=" -python3" --tag clowder/extractors-simple-extractor-python3:onbuild sample-extractors/simple-extractor
21+ ${DEBUG} docker build --build-arg PYCLOWDER_PYTHON=" -python3" --tag clowder/extractors-simple-r-extractor-python3:onbuild sample-extractors/simple-r-extractor
22+
2223
2324# build sample extractors
24- ${DEBUG} docker build --tag clowder/extractors-wordcount:latest sample-extractors/wordcount
25- ${DEBUG} docker build --tag clowder/extractors-wordcount-simple-extractor:latest sample-extractors/wordcount-simple-extractor
26- ${DEBUG} docker build --tag clowder/extractors-wordcount-simple-r-extractor:latest sample-extractors/wordcount-simple-r-extractor
25+ ${DEBUG} docker build --build-arg PYCLOWDER_PYTHON= " -python3 " -- tag clowder/extractors-wordcount:latest sample-extractors/wordcount
26+ ${DEBUG} docker build --build-arg PYCLOWDER_PYTHON= " -python3 " -- tag clowder/extractors-wordcount-simple-extractor:latest sample-extractors/wordcount-simple-extractor
27+ ${DEBUG} docker build --build-arg PYCLOWDER_PYTHON= " -python3 " -- tag clowder/extractors-wordcount-simple-r-extractor:latest sample-extractors/wordcount-simple-r-extractor
2728
2829# build contrib
2930${DEBUG} docker build --tag clowder/extractors-monitor:latest contrib/monitor
0 commit comments