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
b1d26866
authored
Oct 13, 2016
by
amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
for docker
parent
db128b5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
102 additions
and
0 deletions
build_dockerized_bin.sh
compile_commands.json
build_dockerized_bin.sh
0 → 100755
View file @
b1d26866
#!/bin/sh
if
[
-z
"
$1
"
]
||
[
-z
"
$2
"
]
then
echo
"Usage
$0
[path/to/bin] [docker-image]"
exit
fi
echo
"prepare..."
rm
-rf
./tmp
mkdir tmp
echo
"copy dependencies from: "
$1
#cp `ldd ./lib/libMicroservice.so | grep -v nux-vdso | awk '{print $3}'` ./tmp/
cp
`
ldd
$1
|
grep
-v
nux-vdso | awk
'{print $3}'
`
./tmp/
echo
"build image: "
$2
docker build
-t
$2
.
#cp ../3party/lib/*.so ./tmp/
#cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 ./tmp/
compile_commands.json
0 → 100644
View file @
b1d26866
[
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/g++ -DMicroservice_EXPORTS -std=c++11 -m64 -g -O3 -DNDEBUG -fPIC -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/Microservice.dir/src/impl/clients/MSICommandClientHttpImpl.cpp.o -c /home/amir/git/ipgallery/common/cpp/Microservice/src/impl/clients/MSICommandClientHttpImpl.cpp"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/Microservice/src/impl/clients/MSICommandClientHttpImpl.cpp"
},
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/g++ -DMicroservice_EXPORTS -std=c++11 -m64 -g -O3 -DNDEBUG -fPIC -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/Microservice.dir/src/impl/MSIMetricsFactoryDropwisardImpl.cpp.o -c /home/amir/git/ipgallery/common/cpp/Microservice/src/impl/MSIMetricsFactoryDropwisardImpl.cpp"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/Microservice/src/impl/MSIMetricsFactoryDropwisardImpl.cpp"
},
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/g++ -DMicroservice_EXPORTS -std=c++11 -m64 -g -O3 -DNDEBUG -fPIC -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/Microservice.dir/src/impl/Microservice_IConfigurationConfigPropImpl.cpp.o -c /home/amir/git/ipgallery/common/cpp/Microservice/src/impl/Microservice_IConfigurationConfigPropImpl.cpp"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/Microservice/src/impl/Microservice_IConfigurationConfigPropImpl.cpp"
},
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/g++ -DMicroservice_EXPORTS -std=c++11 -m64 -g -O3 -DNDEBUG -fPIC -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/Microservice.dir/src/impl/Microservice_IResponseRestImpl.cpp.o -c /home/amir/git/ipgallery/common/cpp/Microservice/src/impl/Microservice_IResponseRestImpl.cpp"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/Microservice/src/impl/Microservice_IResponseRestImpl.cpp"
},
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/g++ -DMicroservice_EXPORTS -std=c++11 -m64 -g -O3 -DNDEBUG -fPIC -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/Microservice.dir/src/impl/Microservice_ICacheClientRedisImpl.cpp.o -c /home/amir/git/ipgallery/common/cpp/Microservice/src/impl/Microservice_ICacheClientRedisImpl.cpp"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/Microservice/src/impl/Microservice_ICacheClientRedisImpl.cpp"
},
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/g++ -DMicroservice_EXPORTS -std=c++11 -m64 -g -O3 -DNDEBUG -fPIC -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/Microservice.dir/src/impl/servers/Microservice_IRestServerMongooseImpl.cpp.o -c /home/amir/git/ipgallery/common/cpp/Microservice/src/impl/servers/Microservice_IRestServerMongooseImpl.cpp"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/Microservice/src/impl/servers/Microservice_IRestServerMongooseImpl.cpp"
},
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/g++ -DMicroservice_EXPORTS -std=c++11 -m64 -g -O3 -DNDEBUG -fPIC -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/Microservice.dir/src/impl/Microservice_IRequestRestImpl.cpp.o -c /home/amir/git/ipgallery/common/cpp/Microservice/src/impl/Microservice_IRequestRestImpl.cpp"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/Microservice/src/impl/Microservice_IRequestRestImpl.cpp"
},
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/g++ -DMicroservice_EXPORTS -std=c++11 -m64 -g -O3 -DNDEBUG -fPIC -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/Microservice.dir/src/impl/MSIMetricsFactoryStdImpl.cpp.o -c /home/amir/git/ipgallery/common/cpp/Microservice/src/impl/MSIMetricsFactoryStdImpl.cpp"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/Microservice/src/impl/MSIMetricsFactoryStdImpl.cpp"
},
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/g++ -DMicroservice_EXPORTS -std=c++11 -m64 -g -O3 -DNDEBUG -fPIC -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/Microservice.dir/src/impl/Microservices_ILoggerLog4cppImpl.cpp.o -c /home/amir/git/ipgallery/common/cpp/Microservice/src/impl/Microservices_ILoggerLog4cppImpl.cpp"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/Microservice/src/impl/Microservices_ILoggerLog4cppImpl.cpp"
},
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/g++ -DMicroservice_EXPORTS -std=c++11 -m64 -g -O3 -DNDEBUG -fPIC -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/Microservice.dir/src/Microservice_App.cpp.o -c /home/amir/git/ipgallery/common/cpp/Microservice/src/Microservice_App.cpp"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/Microservice/src/Microservice_App.cpp"
},
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/g++ -DMicroservice_EXPORTS -std=c++11 -m64 -g -O3 -DNDEBUG -fPIC -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/Microservice.dir/src/handlers/Microservice_MonitorHandler.cpp.o -c /home/amir/git/ipgallery/common/cpp/Microservice/src/handlers/Microservice_MonitorHandler.cpp"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/Microservice/src/handlers/Microservice_MonitorHandler.cpp"
},
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/g++ -DMicroservice_EXPORTS -std=c++11 -m64 -g -O3 -DNDEBUG -fPIC -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/Microservice.dir/src/handlers/Microservice_RestHandler.cpp.o -c /home/amir/git/ipgallery/common/cpp/Microservice/src/handlers/Microservice_RestHandler.cpp"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/Microservice/src/handlers/Microservice_RestHandler.cpp"
},
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/g++ -DMicroservice_EXPORTS -std=c++11 -m64 -g -O3 -DNDEBUG -fPIC -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/Microservice.dir/src/Microservice_Client.cpp.o -c /home/amir/git/ipgallery/common/cpp/Microservice/src/Microservice_Client.cpp"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/Microservice/src/Microservice_Client.cpp"
},
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/gcc -DMicroservice_EXPORTS -O3 -DNDEBUG -fPIC -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/Microservice.dir/home/amir/git/ipgallery/common/cpp/3party/mongoose/mongoose.c.o -c /home/amir/git/ipgallery/common/cpp/3party/mongoose/mongoose.c"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/3party/mongoose/mongoose.c"
},
{
"directory"
:
"/home/amir/git/ipgallery/common/cpp/Microservice"
,
"command"
:
"/usr/bin/g++ -std=c++11 -m64 -g -O3 -DNDEBUG -I/home/amir/git/ipgallery/common/cpp/Microservice/src -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/rapidjson-0.11/include/rapidjson -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/cppmetrics-0.1.1-Linux/include -isystem /home/amir/git/ipgallery/common/cpp/Microservice/../3party/mongoose -isystem /usr/include/hiredis -o CMakeFiles/test_Microservice.dir/test/Microservice_Test.cpp.o -c /home/amir/git/ipgallery/common/cpp/Microservice/test/Microservice_Test.cpp"
,
"file"
:
"/home/amir/git/ipgallery/common/cpp/Microservice/test/Microservice_Test.cpp"
}
]
\ No newline at end of file
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