Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery.common.cpp
/
Microservice
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
76853d8c
authored
Dec 12, 2017
by
Amir Aharon
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
c++ docker develop
parent
620c6d48
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
5 deletions
.vscode/tasks.json
Dockerfile
develop-compose.yml
.vscode/tasks.json
View file @
76853d8c
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
{
{
"label"
:
"run build env"
,
"label"
:
"run build env"
,
"type"
:
"shell"
,
"type"
:
"shell"
,
"command"
:
"docker-compose -f develop-compose.yml run --name devenv dev-microservice bash"
,
"command"
:
"docker-compose -f develop-compose.yml run --
service-ports --
name devenv dev-microservice bash"
,
"problemMatcher"
:
[]
"problemMatcher"
:
[]
},
},
{
{
...
@@ -32,7 +32,14 @@
...
@@ -32,7 +32,14 @@
{
{
"label"
:
"clean"
,
"label"
:
"clean"
,
"type"
:
"shell"
,
"type"
:
"shell"
,
"command"
:
"docker exec -it dev-microservice make clean"
"command"
:
"docker exec -it devenv make clean"
},
{
"label"
:
"start-gdbserver"
,
"type"
:
"shell"
,
//
not
using
-it
so
that
it
can
be
a
preLaunchTask
"command"
:
"docker exec -d devenv gdbserver :2000 bin/test_Microservice"
,
"problemMatcher"
:
[]
}
}
]
]
}
}
\ No newline at end of file
Dockerfile
View file @
76853d8c
...
@@ -26,5 +26,7 @@ RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
...
@@ -26,5 +26,7 @@ RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# WORKDIR /usr
# WORKDIR /usr
USER
develop
USER
develop
EXPOSE
50010
# ENTRYPOINT ["./test_MicroserviceClient"]
# ENTRYPOINT ["/bin/bash"]
develop-compose.yml
View file @
76853d8c
...
@@ -3,8 +3,11 @@ services:
...
@@ -3,8 +3,11 @@ services:
##### dev-microservice
##### dev-microservice
dev-microservice
:
dev-microservice
:
image
:
municipalitybank.com:5050/ipgallery.common.cpp/microservice/develop
image
:
municipalitybank.com:5050/ipgallery.common.cpp/microservice/develop
# ports:
ports
:
# - "27027:27017"
-
"
2000:2000"
-
"
50010:50010"
privileged
:
true
container_name
:
devenv
volumes
:
volumes
:
-
"
./:/home/develop/project"
-
"
./:/home/develop/project"
-
"
./../3party:/home/develop/3party"
-
"
./../3party:/home/develop/3party"
...
...
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