diff --git a/renren-admin/Dockerfile b/renren-admin/Dockerfile new file mode 100644 index 0000000..9db81f6 --- /dev/null +++ b/renren-admin/Dockerfile @@ -0,0 +1,7 @@ +FROM java:8 +EXPOSE 8080 + +VOLUME /tmp +ADD renren-admin.jar /app.jar +RUN bash -c 'touch /app.jar' +ENTRYPOINT ["java","-jar","/app.jar"] diff --git a/renren-admin/pom.xml b/renren-admin/pom.xml new file mode 100644 index 0000000..0230e27 --- /dev/null +++ b/renren-admin/pom.xml @@ -0,0 +1,139 @@ + + + io.renren + renren-security + 5.2.0 + + 4.0.0 + renren-admin + jar + renren-admin + + + 2.3.2 + 1.10.0 + 1.6.2 + 4.1.0 + 7.2.27 + 2.8.3 + 3.2.2 + 5.4.4 + + + + + io.renren + renren-common + 5.2.0 + + + io.renren + renren-dynamic-datasource + 5.2.0 + + + org.quartz-scheduler + quartz + ${quartz.version} + + + com.mchange + c3p0 + + + com.zaxxer + HikariCP-java6 + + + + + org.apache.shiro + shiro-core + ${shiro.version} + + + org.apache.shiro + shiro-spring + ${shiro.version} + + + com.github.whvcse + easy-captcha + ${captcha.version} + + + cn.afterturn + easypoi-base + ${easypoi.version} + + + cn.afterturn + easypoi-web + ${easypoi.version} + + + cn.afterturn + easypoi-annotation + ${easypoi.version} + + + com.qiniu + qiniu-java-sdk + ${qiniu.version} + + + com.aliyun.oss + aliyun-sdk-oss + ${aliyun.oss.version} + + + com.aliyun + aliyun-java-sdk-core + ${aliyun.core.version} + + + com.qcloud + cos_api + ${qcloud.cos.version} + + + org.slf4j + slf4j-log4j12 + + + + + + + ${project.artifactId} + + + org.springframework.boot + spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-surefire-plugin + + true + + + + com.spotify + docker-maven-plugin + ${docker.plugin.version} + + renren/${project.artifactId} + ${project.basedir}/ + + + / + ${project.build.directory} + ${project.build.finalName}.jar + + + + + + + \ No newline at end of file