Skip to content

Commit

Permalink
Allow running on PaX kernels
Browse files Browse the repository at this point in the history
`ruby` needs the PaX MPROTECT flag disabled to run on PaX-enabled systems because of JIT. Mark it as such.
  • Loading branch information
xen0n authored Dec 30, 2017
1 parent 5201f76 commit 255334b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E1DD270288B4E60
&& update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX \
&& locale-gen en_US.UTF-8 \
&& DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales \
&& paxctl -m -c /usr/bin/ruby${RUBY_VERSION} \
&& gem install --no-document bundler \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 255334b

Please sign in to comment.