-
Notifications
You must be signed in to change notification settings - Fork 382
Description
Hi,
currently I do not know if this a BUG or a feature or nice to have issue, so please be kind and put a necessary flag on it.
My situation is such that we want to use repo2docker from a binderhub installation to train students to use bash. The notebook system is well suitable for this and for python we are often use this system. However, using bash in a notebook terminal and the bash kernel has the lack of man pages which we can install of course with apt.txt but the base bionic image has deactivated the creation/usage of manpages. One article refers this issue:
https://stackoverflow.com/questions/54152906/how-to-install-man-pages-on-an-ubuntu-docker-image
It is possible to include:
RUN sed -i '/path-exclude=/usr/share/man//c#path-exclude=/usr/share/man/' /etc/dpkg/dpkg.cfg.d/excludes
in your docker creation flow? With the current user permissions it is not possible to add any command as root despite of creating an individual Dockerfile of course which is not practicable.
Of course, if you know a better possibility to execute above command as root inside the docker build process let me know!
Cheers,
Oliver