Skip to content

Commit

Permalink
Merge pull request #12 from pcnfernando/master
Browse files Browse the repository at this point in the history
Update distribution and parser versions
  • Loading branch information
niveathika authored Jul 8, 2019
2 parents bad82bd + 28e701f commit 21dd085
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 35 deletions.
4 changes: 2 additions & 2 deletions docker-files/siddhi-parser/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ARG USER_HOME=/home/${USER}
ARG FILES=./files
# set siddhi runner configurations
ARG SIDDHI_PARSER_SERVICE_PACKAGENAME=siddhi.parser
ARG SIDDHI_PARSER_VERSION=0.1.0
ARG SIDDHI_PARSER_VERSION=0.2.0-m1
ARG SIDDHI_PARSER_SERVICE_JAR=${SIDDHI_PARSER_SERVICE_PACKAGENAME}-${SIDDHI_PARSER_VERSION}.jar
# set SIDDHI-IO EULA
ARG MOTD="\n\
Expand Down Expand Up @@ -58,4 +58,4 @@ ENV WORKING_DIRECTORY=${USER_HOME}
# copy Siddhi Parser Service JAR and dependencies
COPY --chown=siddhi_user:siddhi_io ./files ${WORKING_DIRECTORY}/

CMD ["java", "-cp", "siddhi.parser-0.1.0.jar:lib/*", "io.siddhi.operator.parser.services.Application"]
CMD ["java", "-cp", "siddhi.parser-0.2.0-m1.jar:lib/*", "io.siddhi.operator.parser.services.Application"]
6 changes: 3 additions & 3 deletions docker-files/siddhi-parser/alpine/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dockerfiles for Siddhi Parser #

This section defines the step-by-step instructions to build [Ubuntu](https://hub.docker.com/_/ubuntu/) Linux based Docker image for Siddhi Parser Service 0.1.0.
This section defines the step-by-step instructions to build [Ubuntu](https://hub.docker.com/_/ubuntu/) Linux based Docker image for Siddhi Parser Service 0.2.x.

## Prerequisites

Expand All @@ -22,11 +22,11 @@ git clone https://github.com/siddhi-io/docker-siddhi.git

- Navigate to `<DOCKERFILE_HOME>` directory. <br>
Execute `docker build` command as shown below.
+ `docker build -t siddhi-parser-alpine:v0.1.0 .`
+ `docker build -t siddhi-parser:0.2.x .`

##### 5. Running Docker image.

+ `docker run -it siddhi-parser-alpine:v0.1.0`
+ `docker run -it -p 9090:9090 siddhi-parser:0.2.x`

## Docker command usage references

Expand Down
Empty file.
12 changes: 6 additions & 6 deletions docker-files/siddhi-runner/alpine/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dockerfiles for Siddhi Runner #

This section defines the step-by-step instructions to build [Alpine](https://hub.docker.com/_/alpine/) Linux based Docker image for Siddhi Runner Distribution 0.1.0.
This section defines the step-by-step instructions to build [Alpine](https://hub.docker.com/_/alpine/) Linux based Docker image for Siddhi Runner Distribution 5.1.x.

## Prerequisites

Expand All @@ -23,25 +23,25 @@ git clone https://github.com/siddhi-io/docker-siddhi.git

- For base, navigate to `<DOCKERFILE_HOME>/base` directory. <br>
Execute `docker build` command as shown below.
+ `docker build -t siddhi-runner-base-alpine:0.1.0 .`
+ `docker build -t siddhiio/siddhi-runner-base-alpine:5.1.x .`

### Building the Siddhi Runner Image
Here we create the Siddhi Runner image bundling the needed extensions and client jars.

Optional:
> Use the `jartobundle.sh` script found in `siddhi-runner-0.1.0/bin` as shown below; note that you will have to run this command for each jar you need to bundle in the image.
> Use the `jartobundle.sh` script found in `siddhi-runner-5.1.x/bin` as shown below; note that you will have to run this command for each jar you need to bundle in the image.
```
./siddhi-runner-0.1.0/bin/jartobundle.sh path/to/kafka/client/jar <DOCKERFILE_HOME>/siddhi-runner/files/lib
./siddhi-runner-5.1.x/bin/jartobundle.sh path/to/kafka/client/jar <DOCKERFILE_HOME>/siddhi-runner/files/lib
```
##### 5. Build Docker image.

Execute `docker build` command as shown below.
+ `docker build -t siddhi-runner-alpine:0.1.0 .`
+ `docker build -t siddhi-runner-alpine:5.1.x .`

##### 6. Running Docker image.

+ `docker run -it siddhi-runner-alpine:0.1.0`
+ `docker run -it siddhi-runner-alpine:5.1.x`

## Docker command usage references

Expand Down
6 changes: 3 additions & 3 deletions docker-files/siddhi-runner/alpine/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ ARG USER_HOME=/home/${USER}
ARG FILES=./files
# set siddhi runner configurations
ARG RUNTIME_SERVER=siddhi-runner
ARG RUNTIME_SERVER_VERSION=0.1.0
ARG RUNTIME_SERVER_VERSION=5.1.0-m1
ARG RUNTIME_SERVER_PACK=${RUNTIME_SERVER}-${RUNTIME_SERVER_VERSION}
ARG RUNTIME_SERVER_HOME=${USER_HOME}/${RUNTIME_SERVER_PACK}
ARG RUNTIME_SERVER_HOME=${USER_HOME}/${RUNTIME_SERVER}
# set SIDDHI-IO EULA
ARG MOTD="\n\
Welcome to Siddhi Docker resources.\n\
Expand All @@ -55,7 +55,7 @@ RUN addgroup -g ${USER_GROUP_ID} ${USER_GROUP}; \
# download Siddhi Runner Distribution
RUN \
wget --no-check-certificate -O ${RUNTIME_SERVER_PACK}.zip "https://github.com/siddhi-io/distribution/releases/download/v${RUNTIME_SERVER_VERSION}/${RUNTIME_SERVER_PACK}.zip" \
&& unzip -d ${USER_HOME} ${RUNTIME_SERVER_PACK}.zip \
&& unzip -d ${USER_HOME} ${RUNTIME_SERVER_PACK}.zip && mv ${USER_HOME}/${RUNTIME_SERVER_PACK} ${RUNTIME_SERVER_HOME} \
&& chown ${USER}:${USER_GROUP} -R ${RUNTIME_SERVER_HOME} \
&& rm -f ${RUNTIME_SERVER_PACK}.zip

Expand Down
2 changes: 1 addition & 1 deletion docker-files/siddhi-runner/alpine/siddhi-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# ------------------------------------------------------------------------

# use siddhi-runner-base
FROM siddhiio/siddhi-runner-base-alpine:0.1.0
FROM siddhiio/siddhi-runner-base-alpine:5.1.0-m1
MAINTAINER Siddhi IO Docker Maintainers "[email protected]"

ARG BUNDLE_JAR_DIR=./files/lib
Expand Down
12 changes: 6 additions & 6 deletions docker-files/siddhi-runner/ubuntu/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dockerfiles for Siddhi Runner #

This section defines the step-by-step instructions to build [Ubuntu](https://hub.docker.com/_/ubuntu/) Linux based Docker image for Siddhi Runner Distribution 0.1.0.
This section defines the step-by-step instructions to build [Ubuntu](https://hub.docker.com/_/ubuntu/) Linux based Docker image for Siddhi Runner Distribution 5.1.x.

## Prerequisites

Expand All @@ -23,25 +23,25 @@ git clone https://github.com/siddhi-io/docker-siddhi.git

- For base, navigate to `<DOCKERFILE_HOME>/base` directory. <br>
Execute `docker build` command as shown below.
+ `docker build -t siddhi-runner-base-ubuntu:0.1.0 .`
+ `docker build -t siddhiio/siddhi-runner-base-ubuntu:5.1.x .`

### Building the Siddhi Runner Image
Here we create the Siddhi Runner image bundling the needed extensions and client jars.

Optional:
> Use the `jartobundle.sh` script found in `siddhi-runner-0.1.0/bin` as shown below; note that you will have to run this command for each jar you need to bundle in the image.
> Use the `jartobundle.sh` script found in `siddhi-runner-5.1.x/bin` as shown below; note that you will have to run this command for each jar you need to bundle in the image.
```
./siddhi-runner-0.1.0/bin/jartobundle.sh path/to/kafka/client/jar <DOCKERFILE_HOME>/siddhi-runner/files/lib
./siddhi-runner-5.1.x/bin/jartobundle.sh path/to/kafka/client/jar <DOCKERFILE_HOME>/siddhi-runner/files/lib
```
##### 3. Build Docker image.

Execute `docker build` command as shown below.
+ `docker build -t siddhi-runner-ubuntu:0.1.0 .`
+ `docker build -t siddhi-runner-ubuntu:5.1.x .`

##### 4. Running Docker image.

+ `docker run -it siddhi-runner-ubuntu:0.1.0`
+ `docker run -it siddhi-runner-ubuntu:5.1.x`

## Docker command usage references

Expand Down
6 changes: 3 additions & 3 deletions docker-files/siddhi-runner/ubuntu/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ ARG USER_HOME=/home/${USER}
ARG FILES=./files
# set siddhi-runner configurations
ARG RUNTIME_SERVER=siddhi-runner
ARG RUNTIME_SERVER_VERSION=0.1.0
ARG RUNTIME_SERVER_VERSION=5.1.0-m1
ARG RUNTIME_SERVER_PACK=${RUNTIME_SERVER}-${RUNTIME_SERVER_VERSION}
ARG RUNTIME_SERVER_HOME=${USER_HOME}/${RUNTIME_SERVER_PACK}
ARG RUNTIME_SERVER_HOME=${USER_HOME}/${RUNTIME_SERVER}
# set SIDDHI-IO EULA
ARG MOTD="\n\
Welcome to Siddhi Docker resources.\n\
Expand Down Expand Up @@ -62,7 +62,7 @@ RUN \
# download Siddhi Runner Distribution
RUN \
wget --no-check-certificate -O ${RUNTIME_SERVER_PACK}.zip "https://github.com/siddhi-io/distribution/releases/download/v${RUNTIME_SERVER_VERSION}/${RUNTIME_SERVER_PACK}.zip" \
&& unzip -d ${USER_HOME} ${RUNTIME_SERVER_PACK}.zip \
&& unzip -d ${USER_HOME} ${RUNTIME_SERVER_PACK}.zip && mv ${USER_HOME}/${RUNTIME_SERVER_PACK} ${RUNTIME_SERVER_HOME} \
&& chown ${USER}:${USER_GROUP} -R ${RUNTIME_SERVER_HOME} \
&& rm -f ${RUNTIME_SERVER_PACK}.zip

Expand Down
2 changes: 1 addition & 1 deletion docker-files/siddhi-runner/ubuntu/siddhi-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# ------------------------------------------------------------------------

# use siddhi-runner-base
FROM siddhiio/siddhi-runner-base-ubuntu:0.1.0
FROM siddhiio/siddhi-runner-base-ubuntu:5.1.0-m1
MAINTAINER Siddhi IO Docker Maintainers "[email protected]"

ARG BUNDLE_JAR_DIR=./files/lib
Expand Down
12 changes: 6 additions & 6 deletions docker-files/siddhi-tooling/ubuntu/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dockerfiles for Siddhi Tooling #

This section defines the step-by-step instructions to build [Ubuntu](https://hub.docker.com/_/ubuntu/) Linux based Docker image for Siddhi Tooling Distribution 0.1.0.
This section defines the step-by-step instructions to build [Ubuntu](https://hub.docker.com/_/ubuntu/) Linux based Docker image for Siddhi Tooling Distribution 5.1.x.

## Prerequisites

Expand All @@ -23,25 +23,25 @@ git clone https://github.com/siddhi-io/docker-siddhi.git

- For base, navigate to `<DOCKERFILE_HOME>/base` directory. <br>
Execute `docker build` command as shown below.
+ `docker build -t siddhi-tooling-base:0.1.0 .`
+ `docker build -t siddhiio/siddhi-tooling-base:5.1.x .`

### Building the Siddhi Tooling Image
Here we create the Siddhi Tooling image bundling the needed extensions and client jars.

Optional:
> Use the `jartobundle.sh` script found in `siddhi-tooling-0.1.0/bin` as shown below; note that you will have to run this command for each jar you need to bundle in the image.
> Use the `jartobundle.sh` script found in `siddhi-tooling-5.1.x/bin` as shown below; note that you will have to run this command for each jar you need to bundle in the image.
```
./siddhi-tooling-0.1.0/bin/jartobundle.sh path/to/kafka/client/jar <DOCKERFILE_HOME>/siddhi-tooling/files/lib
./siddhi-tooling-5.1.x/bin/jartobundle.sh path/to/kafka/client/jar <DOCKERFILE_HOME>/siddhi-tooling/files/lib
```
##### 3. Build Docker image.

Execute `docker build` command as shown below.
+ `docker build -t siddhi-tooling:0.1.0 .`
+ `docker build -t siddhi-tooling:5.1.x .`

##### 4. Running Docker image.

+ `docker run -it siddhi-tooling:0.1.0`
+ `docker run -it -p 9390:9390 siddhi-tooling:5.1.x`

## Docker command usage references

Expand Down
6 changes: 3 additions & 3 deletions docker-files/siddhi-tooling/ubuntu/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ ARG USER_HOME=/home/${USER}
ARG FILES=./files
# set siddhi-tooling configurations
ARG RUNTIME_SERVER=siddhi-tooling
ARG RUNTIME_SERVER_VERSION=0.1.0
ARG RUNTIME_SERVER_VERSION=5.1.0-m1
ARG RUNTIME_SERVER_PACK=${RUNTIME_SERVER}-${RUNTIME_SERVER_VERSION}
ARG RUNTIME_SERVER_HOME=${USER_HOME}/${RUNTIME_SERVER_PACK}
ARG RUNTIME_SERVER_HOME=${USER_HOME}/${RUNTIME_SERVER}
# set SIDDHI-IO EULA
ARG MOTD="\n\
Welcome to Siddhi Docker resources.\n\
Expand Down Expand Up @@ -62,7 +62,7 @@ RUN \
# download Siddhi Tooling Distribution
RUN \
wget --no-check-certificate -O ${RUNTIME_SERVER_PACK}.zip "https://github.com/siddhi-io/distribution/releases/download/v${RUNTIME_SERVER_VERSION}/${RUNTIME_SERVER_PACK}.zip" \
&& unzip -d ${USER_HOME} ${RUNTIME_SERVER_PACK}.zip \
&& unzip -d ${USER_HOME} ${RUNTIME_SERVER_PACK}.zip && mv ${USER_HOME}/${RUNTIME_SERVER_PACK} ${RUNTIME_SERVER_HOME} \
&& chown ${USER}:${USER_GROUP} -R ${RUNTIME_SERVER_HOME} \
&& rm -f ${RUNTIME_SERVER_PACK}.zip

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# ------------------------------------------------------------------------

# use siddhi-tooling-base
FROM siddhiio/siddhi-tooling-base:0.1.0
FROM siddhiio/siddhi-tooling-base:5.1.0-m1
MAINTAINER Siddhi IO Docker Maintainers "[email protected]"

ARG BUNDLE_JAR_DIR=./files/lib
Expand Down

0 comments on commit 21dd085

Please sign in to comment.