Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
Shardingsphere
提交
be3fd72b
Shardingsphere
项目概览
apache
/
Shardingsphere
通知
56
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Shardingsphere
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
be3fd72b
编写于
5月 03, 2018
作者:
C
caohao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
for #653,init commit for sharding-proxy docker image
上级
c2f8763c
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
30 addition
and
1 deletion
+30
-1
pom.xml
pom.xml
+6
-0
sharding-proxy/pom.xml
sharding-proxy/pom.xml
+17
-1
sharding-proxy/src/main/docker/Dockerfile
sharding-proxy/src/main/docker/Dockerfile
+7
-0
未找到文件。
pom.xml
浏览文件 @
be3fd72b
...
...
@@ -78,6 +78,7 @@
<protobuf-maven-plugin.version>
0.5.0
</protobuf-maven-plugin.version>
<os-maven-plugin.version>
1.5.0.Final
</os-maven-plugin.version>
<coveralls-maven-plugin.version>
4.1.0
</coveralls-maven-plugin.version>
<docker-maven-plugin.version>
0.4.14
</docker-maven-plugin.version>
<javadocExecutable>
${java.home}/../bin/javadoc
</javadocExecutable>
</properties>
...
...
@@ -563,6 +564,11 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>
com.spotify
</groupId>
<artifactId>
docker-maven-plugin
</artifactId>
<version>
${docker-maven-plugin.version}
</version>
</plugin>
<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
...
...
sharding-proxy/pom.xml
浏览文件 @
be3fd72b
...
...
@@ -71,6 +71,7 @@
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<configuration>
<appendAssemblyId>
false
</appendAssemblyId>
<descriptors>
<descriptor>
src/main/resources/assembly/assembly.xml
</descriptor>
</descriptors>
...
...
@@ -85,6 +86,21 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>
com.spotify
</groupId>
<artifactId>
docker-maven-plugin
</artifactId>
<configuration>
<imageName>
shardingjdbc/sharding-proxy:2.1.0-SNAPSHOT
</imageName>
<dockerDirectory>
${project.basedir}/src/main/docker
</dockerDirectory>
<resources>
<resource>
<targetPath>
/
</targetPath>
<directory>
${project.build.directory}
</directory>
<include>
${project.build.finalName}.tar.gz
</include>
</resource>
</resources>
</configuration>
</plugin>
</plugins>
</build>
</project>
sharding-proxy/src/main/docker/Dockerfile
0 → 100644
浏览文件 @
be3fd72b
FROM
java:7
MAINTAINER
caohao "caohaoch@gmail.com"
ADD
sharding-proxy-2.1.0-SNAPSHOT.tar.gz /
RUN
mv
/sharding-proxy-2.1.0-SNAPSHOT /opt/sharding-proxy
EXPOSE
$PORT
ENTRYPOINT
/opt/sharding-proxy/bin/start.sh $PORT && tail -f /opt/sharding-proxy/logs/stdout.log
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录