haskell-vim-now
haskell-vim-now copied to clipboard
Docker build fails
I'm trying to build the docker image and I am receiving an error during the build.
Step 7/7 : RUN /bin/bash /install.sh
---> Running in e99ed83798e4
tput: No value for $TERM and no -T specified
ENV: [HVN_INSTALL_BASIC=]
--> No previous installations detected.
--- Installing Haskell-Vim-Now from https://github.com/begriffs/haskell-vim-now.git ...
Cloning into '/root/.config/haskell-vim-now'...
tput: No value for $TERM and no -T specified
--- Installing system packages [par libcurl4-openssl-dev] using [APT]...
--- Installing with apt-get...
/root/.config/haskell-vim-now/scripts/func.sh: line 96: sudo: command not found
*** Installer requires 'par'. Please install and try again.
*** Aborting...
It looks like the haskell image doesn't have sudo installed. I was able to continue the execution by running
apt-get install sudo
before running install.sh
Thanks for debugging. Care to send a pull request to update the Dockerfile?
Sure! I am actually just running a final test now. I'm not entirely certain that adding sudo is the best way to fix it but it seems to have gotten me past the initial hurdle and I am not entirely certain what script is written with the sudo command.
I feel dumb I realized the line number in error is in the error message. I guess installing sudo is appropriate here that way the scripts are still valid when run outside the container.
Created https://github.com/begriffs/haskell-vim-now/pull/227 to resolve this issue.