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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 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
This diff is collapsed.
Click to expand it.
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