Commit ba6fc002 authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

fix term issue with nano

parent d054b778
Pipeline #139522 failed with stages
in 2 seconds
......@@ -18,8 +18,18 @@ RUN set -x ;\
## Stage 2: build the toolbox image ##
FROM allgo/base-debian
RUN apt-getq install rsync xauth openssh-client openssh-server vim-gtk nano less procps netcat-openbsd
RUN apt-getq install binutils
RUN apt-getq install \
binutils \
less \
nano \
ncurses-term \
netcat-openbsd \
openssh-client \
openssh-server \
procps \
rsync \
vim-gtk \
xauth
# overwrite the official packages with our patched packages openssh-{server,client}.deb
# Notes:
......
......@@ -18,6 +18,9 @@ case "$CMD" in
;;
esac
# needed when the user has a fancy TERM (eg: xterm-256color)
export TERMINFO="/.toolbox/lib/terminfo"
exec /.toolbox/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 \
--library-path /.toolbox/lib/x86_64-linux-gnu:/.toolbox/usr/lib/x86_64-linux-gnu \
"/.toolbox/usr/bin/$CMD" $EXTRA "$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment