-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ISSUE #201]Could we support running eventmesh in docker
- Loading branch information
Showing
4 changed files
with
49 additions
and
1 deletion.
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,12 @@ | ||
FROM docker.io/centos:7 | ||
|
||
MAINTAINER mikexue <[email protected]> | ||
|
||
RUN yum update -y && yum install net-tools -y && yum install lrzsz -y && yum install vim -y | ||
ADD jdk-8u281-linux-x64.tar.gz /usr/local/src/ | ||
RUN ln -s /usr/local/src/jdk1.8.0_281/ /usr/local/jdk | ||
|
||
ENV JAVA_HOME /usr/local/jdk | ||
ENV JRE_HOME $JAVA_HOME/jre | ||
ENV CLASSPATH .:$JAVA_HOME/lib/:$JRE_HOME/lib/ | ||
ENV PATH $PATH:$JAVA_HOME/bin |
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,15 @@ | ||
FROM centos7-jdk8:latest | ||
|
||
MAINTAINER mikexue [email protected] | ||
|
||
WORKDIR /data | ||
RUN mkdir /data/app | ||
ADD eventmesh-runtime_1.2.0-SNAPSHOT.tar.gz /data/app/eventmesh | ||
COPY eventmesh-connector-defibus-1.2.0-SNAPSHOT.jar /data/app/eventmesh/apps | ||
WORKDIR /data/app/eventmesh/bin | ||
|
||
EXPOSE 10000 | ||
EXPOSE 10105 | ||
|
||
ENV DOCKER true | ||
CMD sh start.sh |
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,16 @@ | ||
FROM centos7-jdk8:latest | ||
|
||
MAINTAINER mikexue [email protected] | ||
|
||
WORKDIR /data | ||
RUN mkdir /data/app | ||
ADD eventmesh-runtime_1.2.0-SNAPSHOT.tar.gz /data/app/eventmesh | ||
COPY eventmesh-connector-rocketmq-1.2.0.jar /data/app/eventmesh/apps | ||
WORKDIR /data/app/eventmesh/bin | ||
|
||
EXPOSE 10000 | ||
EXPOSE 10105 | ||
|
||
ENV DOCKER true | ||
|
||
CMD sh start.sh |
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