|
6 | 6 | # use DEBUG=echo ./release.sh to print all commands |
7 | 7 | export DEBUG=${DEBUG:-""} |
8 | 8 |
|
9 | | -# build docker container |
10 | | -${DEBUG} docker build --tag clowder/pyclowder:latest . |
11 | | -${DEBUG} docker build --tag clowder/pyclowder:onbuild --file Dockerfile.onbuild . |
12 | | -${DEBUG} docker build --tag clowder/extractors-binary-preview:onbuild sample-extractors/binary-preview |
13 | | -${DEBUG} docker build --tag clowder/extractors-simple-extractor:onbuild sample-extractors/simple-extractor |
14 | | -${DEBUG} docker build --tag clowder/extractors-simple-r-extractor:onbuild sample-extractors/simple-r-extractor |
| 9 | +# build docker container based on python 2 |
| 10 | +${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 |
15 | 15 |
|
16 | 16 | # build docker container based on python 3 |
17 | | -${DEBUG} docker build --build-arg PYTHON_VERSION=3 --tag clowder/pyclowder-python3:latest . |
18 | | -${DEBUG} docker build --build-arg PYTHON_VERSION=3 --tag clowder/pyclowder-python3:onbuild --file Dockerfile.onbuild . |
19 | | -${DEBUG} docker build --build-arg PYTHON_VERSION=3 --tag clowder/extractors-simple-extractor-python3:onbuild sample-extractors/simple-extractor |
20 | | -${DEBUG} docker build --build-arg PYTHON_VERSION=3 --tag clowder/extractors-simple-r-extractor-python3:onbuild sample-extractors/simple-r-extractor |
| 17 | +${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 |
21 | 22 |
|
22 | 23 | # build sample extractors |
23 | 24 | ${DEBUG} docker build --tag clowder/extractors-wordcount:latest sample-extractors/wordcount |
|
0 commit comments