Skip to content

Commit

Permalink
apt安装后清理相关内容
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeBottle committed Feb 8, 2024
1 parent fcf20db commit 7fbb38a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ RUN echo -e "#!/bin/bash\nexport PATH=$PATH\nexport LD_LIBRARY_PATH=$LD_LIBRARY_
# 更新apt-get以及openssh-server, wget, vim, sshpass, net-tools, psmisc
# psmisc包含Hadoop HA - sshfence所需的fuser工具
apt-get update && apt-get install -y openssh-server wget vim sshpass lsof net-tools psmisc rsync zip && \
rm -rf /var/lib/apt/lists/* && \
# 清除下载的deb包
apt-get clean && \
# 建立haspark脚本目录
mkdir -p /opt/somebottle/haspark && \
# 建立工具脚本目录
Expand Down

0 comments on commit 7fbb38a

Please sign in to comment.