Closed pallix closed 10 years ago
I "fixed" this by completely removing that line from the Dockerfile. Not sure if that's the right thing. It seems to be added as a workaround in the first place, and perhaps the issue being worked-around is already fixed.
Hi @phord,
Sorry for the late reply. I'll try to replicate your problem today! I'm glad that you fixed it. But let's see if I can fix it without removing that line which is related to the libre-office!
Thanks
@rogaha No problemo for me. But fyi, I also had to remove the install of ubuntu-restricted-extras. Not sure why, since I already have them installed on my machine.
Step 12 : RUN apt-get install -y libreoffice-base firefox libreoffice-gtk libreoffice-calc xterm ubuntu-restricted-extras
---> Running in aec120291fc6
: Unable to locate package ubuntu-restricted-extras
2014/02/10 13:09:07 build: The command [/bin/sh -c apt-get install -y libreoffice-base firefox libreoffice-gtk libreoffice-calc xterm ubuntu-restricted-extras] returned a non-zero code: 255
Let me know if you want me to open a separate issue on that.
The initctl, as far as I can tell, is already linked to /bin/true - but I use the following line:
RUN dpkg-divert --local --rename --add /sbin/initctl && rm -f /sbin/initctl && ln -s /bin/true /sbin/initctl
I also found that this was required for 13.10:
RUN sed 's/session required pam_loginuid.so/session optional pam_loginuid.so/' -i /etc/pam.d/sshd
I have that after the X11Forwarding line - it fixes an issue with PAM noted on docker's web pages about ssh.
Note, both those changes are 12.04 friendly, so shouldn't cause any issues applied to the existing Dockerfile.
It should be fixed with the latest version! I'm closing this issue for now. Please feel free to reopen it if it happens again!
The build is failing on Ubuntu 13.10.