Skip to content

Instantly share code, notes, and snippets.

@dz0ny
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dz0ny/3ae6c41fe10af51cf06f to your computer and use it in GitHub Desktop.
Save dz0ny/3ae6c41fe10af51cf06f to your computer and use it in GitHub Desktop.
RUN dpkg-divert --local --rename --add /sbin/initctl
RUN ln -s /bin/true /sbin/initctl
RUN dpkg-divert --local --rename --add /usr/sbin/service
RUN ln -s /bin/true /usr/sbin/service
RUN dpkg-divert --local --rename --add /sbin/start-stop-daemon
RUN ln -s /bin/true /sbin/start-stop-daemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment