Commit 76853d8c by Amir Aharon

c++ docker develop

parent 620c6d48
......@@ -6,7 +6,7 @@
{
"label": "run build env",
"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": []
},
{
......@@ -32,7 +32,14 @@
{
"label": "clean",
"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
......@@ -26,5 +26,7 @@ RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# WORKDIR /usr
USER develop
EXPOSE 50010
# ENTRYPOINT ["./test_MicroserviceClient"]
# ENTRYPOINT ["/bin/bash"]
......@@ -3,8 +3,11 @@ services:
##### dev-microservice
dev-microservice:
image: municipalitybank.com:5050/ipgallery.common.cpp/microservice/develop
# ports:
# - "27027:27017"
ports:
- "2000:2000"
- "50010:50010"
privileged: true
container_name: devenv
volumes:
- "./:/home/develop/project"
- "./../3party:/home/develop/3party"
......
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 sign in to comment