Commit 535d2951 authored by ymwang's avatar ymwang

项目代码迁移

parent bb63f128
Pipeline #16 passed with stage
in 0 seconds
...@@ -5,3 +5,15 @@ RUN yum install -y http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8. ...@@ -5,3 +5,15 @@ RUN yum install -y http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.
yum install -y iperf iptables tc yum install -y iperf iptables tc
RUN yum install -y net-tools.x86_64 RUN yum install -y net-tools.x86_64
RUN echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf RUN echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf
RUN mkdir -p /tmp/static
COPY jdk1.8.0_111 jdk1.8.0_111
ENV JAVA_HOME=/jdk1.8.0_111
ENV PATH=$JAVA_HOME/bin:$PATH
ENV CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
ADD dbc-business-server-0.0.1-SNAPSHOT.jar server.jar
ENTRYPOINT ["java","-jar","server.jar"]
\ No newline at end of file
...@@ -5,3 +5,14 @@ RUN yum install -y http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8. ...@@ -5,3 +5,14 @@ RUN yum install -y http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.
yum install -y iperf iptables tc yum install -y iperf iptables tc
RUN yum install -y net-tools.x86_64 RUN yum install -y net-tools.x86_64
RUN echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf RUN echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf
RUN mkdir -p /tmp/static
COPY jdk1.8.0_111 jdk1.8.0_111
ENV JAVA_HOME=/jdk1.8.0_111
ENV PATH=$JAVA_HOME/bin:$PATH
ENV CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
ADD dfs-transfer-server-0.0.1-SNAPSHOT.jar server.jar
ENTRYPOINT ["java","-jar","server.jar"]
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment