From f21083a63c1a2039dd1b061a9219b8a2051e8fb7 Mon Sep 17 00:00:00 2001 From: Jing Liu Date: Fri, 5 Apr 2024 16:27:24 -0500 Subject: [PATCH] changed some tools in Dockerfile --- INSTALL/Docker/Dockerfile | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/INSTALL/Docker/Dockerfile b/INSTALL/Docker/Dockerfile index a412783..de4ff7e 100644 --- a/INSTALL/Docker/Dockerfile +++ b/INSTALL/Docker/Dockerfile @@ -7,29 +7,25 @@ RUN cd /usr/bin \ && curl -LO https://github.com/jintonic/gears/raw/master/Makefile \ && make && rm -f gears.cc Makefile -# install tmux, git, java, micro, lf, uproot, visidata, mpld3 -run dnf install -y tmux git python3-pip java-1.8.0-openjdk-headless \ +# install tmux, git, micro, lf, uproot, visidata, mpld3, seaborn, pandas +run dnf install -y tmux git python3-pip \ && cd /usr/local/bin && curl https://getmic.ro/r | bash \ && curl -LO https://github.com/gokcehan/lf/releases/download/r31/lf-linux-amd64.tar.gz \ && tar xf *.gz && rm -f *.gz && dnf clean all && rm -fr /var/cache/* \ - && pip install uproot visidata mpld3 && rm -fr /root/.cache + && pip install uproot visidata mpld3 seaborn pandas && rm -fr /root/.cache # set up environment copy tmux.conf /etc/ copy config /root/.config -copy v2x /usr/bin # tmux uses $PS1 defined in .bashrc to show its prompt run cd /etc && sed -i 's/"ls -Alh"/lf/' bashrc \ && echo 'export PS1="\[\e[0;32m\]\u@AlmaLinux:\[\e[0;34m\]\w \[\e[0;31m\]\$\[\e[m\] "' >> bashrc \ && echo 'alias t="tmux -u"' >> bashrc \ && echo 'alias ta="t attach"' >> bashrc \ - && echo 'options.disp_canvas_charset = " +"' >> /root/.visidatarc \ - && echo 'You are using /bin/sh' >> /root/.profile \ - && echo 'Type "tmux -u a↵" for a better UI' >> /root/.profile \ - && cd /usr/bin \ - && curl -LO https://github.com/jintonic/gears/raw/master/tutorials/detector/visualization/VrmlMerge-0.5beta.jar \ - && cd /usr/share \ - && curl -LO https://raw.githubusercontent.com/jintonic/gears/master/tutorials/detector/visualization/gearsX3D.html + && echo 'alias tl="t new lf"' >> bashrc && cd /root \ + && echo 'options.disp_canvas_charset = " +"' >> .visidatarc \ + && echo 'You are using /bin/sh' >> .profile \ + && echo 'Type "tmux -u a↵" for a better UI' >> .profile # lf started by tmux uses vi without the following line env EDITOR=micro