Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
piplus-backend-v5-server-dockers
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
piplus-backend-v5
piplus-backend-v5-server-dockers
Commits
8b52d481
Commit
8b52d481
authored
Oct 29, 2016
by
focus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
dbb683b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
Dockerfile
piplus-backend-v5-mycat-docker/Dockerfile
+2
-4
No files found.
piplus-backend-v5-mycat-docker/Dockerfile
View file @
8b52d481
...
@@ -16,7 +16,7 @@ RUN \
...
@@ -16,7 +16,7 @@ RUN \
mkdir
/opt/mycat
&&
\
mkdir
/opt/mycat
&&
\
tar
zxvf Mycat-server-
$MYCAT_VERSION
-linux
.tar.gz
-C
/opt
&&
\
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
ADD
conf /opt/mycat/conf
ADD
conf /opt/mycat/conf
...
@@ -26,10 +26,8 @@ VOLUME ["/opt/mycat/conf"]
...
@@ -26,10 +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
# Define default command.
# Define default command.
CMD
["mycat","start"]
CMD
["
./
mycat","start"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment