mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
Merge pull request #1458 from xen0n/patch-1
Allow running on PaX kernels
This commit is contained in:
commit
fd63259efe
@ -42,6 +42,11 @@ cd -
|
||||
rm -rf /tmp/re2
|
||||
DEBIAN_FRONTEND=noninteractive apt-get purge -y --auto-remove checkinstall
|
||||
|
||||
# PaX-mark ruby
|
||||
# Applying the mark late here does make the build usable on PaX kernels, but
|
||||
# still the build itself must be executed on a non-PaX kernel. It's done here
|
||||
# only for simplicity.
|
||||
paxctl -Cm `which ruby${RUBY_VERSION}`
|
||||
# https://en.wikibooks.org/wiki/Grsecurity/Application-specific_Settings#Node.js
|
||||
paxctl -Cm `which nodejs`
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user