readthedocs / readthedocs-docker-images

Docker image definitions used by Read the Docs
115 stars 70 forks source link

Install lmod #112

Closed humitos closed 3 years ago

humitos commented 5 years ago

lmod was requested by a user.

I'm on the fence with this because it seems there is a bug and needs an extra ln -s command to make it work properly.

RUN apt-get -y install lmod
# BUG FIX: https://bugs.launchpad.net/ubuntu/+source/lua-posix/+bug/1752082
RUN ln -s /usr/lib/x86_64-linux-gnu/lua/5.2/posix_c.so /usr/lib/x86_64-linux-gnu/lua/5.2/posix.so

See diff at https://github.com/readthedocs/readthedocs-docker-images/compare/master...shahzebsiddiqui:master

Reference: https://github.com/readthedocs/readthedocs.org/issues/6162

humitos commented 3 years ago

We are implementing the ability to install APT packages in https://github.com/readthedocs/readthedocs.org/pull/8065/