Commit 2009a5d9 authored by Kevin Daudt's avatar Kevin Daudt 💻
Browse files

gitlab/setup: use _strip_binaries function

This makes sure it only tries to strip elf binaries. Gets rid of some
warnings during build that shell scripts are not recognized file
formats.
parent a2c129d9
Pipeline #113840 passed with stages
in 2 minutes and 12 seconds
......@@ -159,11 +159,7 @@ bundle exec rake gitlab:assets:compile RAILS_ENV=production NODE_ENV=production
echo "Build finish, cleaning up..."
# strip go bins
for bin in /usr/local/bin/*; do
[ "${bin##*.}" = sh ] && continue
strip "$bin" || true
done
_strip_binaries /usr/local/bin
# detect gem library depends and add them to world
gemdeps.sh | xargs -rt apk add --no-cache --virtual .gems-runtime
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment