Skip to content

Commit de67374

Browse files
adding info about clowder/generator repo to README.md (#35)
* adding info about clowder/generator repo and mentioning onbuild is no longer maintained
1 parent 9e8d130 commit de67374

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,13 @@ to a file that is read with the configuration options.
216216

217217
# Dockerfile
218218

219-
We recommend using the pyclowder:onbuild to easily convert your extractor into a docker container. If you build the
220-
extractor as commented above, you will only need the following Dockerfile
219+
We recommend following the instructions at [clowder/generator](https://github.com/clowder-framework/generator) to build a Docker image from your Simple Extractor.
220+
221+
You can also use the pyclowder:onbuild Docker image to easily convert your extractor into a docker container. This image is no longer maintained so it is recommeded to either use the clowder/generator linked above or build your own Dockerfile by choosing your own base image and installing pyClowder as described below.
222+
223+
224+
**This is deprecated and the onbuild image is no longer maintained**
225+
If you build the extractor as using the pyclowder:onbuild image, you will only need the following Dockerfile
221226

222227
```
223228
FROM clowder/pyclowder:onbuild
@@ -290,7 +295,7 @@ def wordcount(input_file):
290295
return result
291296
```
292297

293-
To build wordcount as a Simpel extractor docker image, users just simply assign two environment variables in Dockerfile shown below. EXTRACTION_FUNC is environment variable and has to be assigned as extraction function, where in wordcount.py, the extraction function is `wordcount`. Environment variable EXTRACTION_MODULE is the name of module file containing the definition of extraction function.
298+
To build wordcount as a an extractor docker image, users just simply assign two environment variables in Dockerfile shown below. EXTRACTION_FUNC is environment variable and has to be assigned as extraction function, where in wordcount.py, the extraction function is `wordcount`. Environment variable EXTRACTION_MODULE is the name of module file containing the definition of extraction function.
294299
```markdown
295300
FROM clowder/extractors-simple-extractor:onbuild
296301

0 commit comments

Comments
 (0)