-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6b7f0b
commit 3dd5d19
Showing
5 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## Build the Docker image(s) | ||
To run the example plugins in the way described here, you need to first install [Docker](https://www.docker.com/). | ||
|
||
From the examples/python folder, execute one of the following lines according to which plugin you want to build: | ||
|
||
|
||
|
||
|
||
- docker build -t qlik-oss/sse-scriptsupport -f Dockerfile.scriptsupport . | ||
- docker build -t qlik-oss/sse-helloworld -f Dockerfile.helloworld . | ||
- docker build -t qlik-oss/sse-columnoperations -f Dockerfile.columnoperations . | ||
|
||
|
||
|
||
## Run the Docker container(s) | ||
Execute one of the following commands to run the plugin of choice in a docker container: | ||
|
||
|
||
|
||
- docker run --rm -p 50051:50051 qlik-oss/sse-scriptsupport | ||
- docker run --rm -p 50052:50052 qlik-oss/sse-helloworld | ||
- docker run --rm -p 50053:50053 qlik-oss/sse-columnoperations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM grpc/python | ||
|
||
ADD . /app | ||
|
||
WORKDIR /app | ||
ENTRYPOINT ["python"] | ||
CMD ["ColumnOperations/ExtensionService_column.py"] | ||
EXPOSE 50053 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM grpc/python | ||
|
||
ADD . /app | ||
|
||
WORKDIR /app | ||
ENTRYPOINT ["python"] | ||
CMD ["HelloWorld/ExtensionService_helloworld.py"] | ||
EXPOSE 50052 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM grpc/python | ||
|
||
RUN pip install -U pip | ||
RUN pip install numpy | ||
|
||
ADD . /app | ||
|
||
WORKDIR /app | ||
ENTRYPOINT ["python"] | ||
CMD ["FullScriptSupport/ExtensionService_Script.py"] | ||
EXPOSE 50051 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters