Commit dbb683b7 authored by focus's avatar focus

fix

parent a9d8f5d9
...@@ -14,7 +14,7 @@ RUN \ ...@@ -14,7 +14,7 @@ RUN \
cd /opt && \ cd /opt && \
wget http://$OSS/$ROOT_DIR/lib/Mycat-server-$MYCAT_VERSION-linux.tar.gz && \ wget http://$OSS/$ROOT_DIR/lib/Mycat-server-$MYCAT_VERSION-linux.tar.gz && \
mkdir /opt/mycat && \ mkdir /opt/mycat && \
tar zxvf Mycat-server-$MYCAT_VERSION-linux.tar.gz -C /opt/mycat && \ tar zxvf Mycat-server-$MYCAT_VERSION-linux.tar.gz -C /opt && \
rm -rf /opt/mycat/conf rm -rf /opt/mycat/conf
# Add src # Add src
...@@ -26,6 +26,8 @@ VOLUME ["/opt/mycat/conf"] ...@@ -26,6 +26,8 @@ VOLUME ["/opt/mycat/conf"]
# Expose ports. # Expose ports.
EXPOSE 8066 EXPOSE 8066
# Define working directory. # Define working directory.
WORKDIR /opt/mycat/bin WORKDIR /opt/mycat/bin
......
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