new soft
This commit is contained in:
11
code-ssh/Dockerfile
Normal file
11
code-ssh/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM debian:stable-slim
|
||||
|
||||
RUN sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list && \
|
||||
apt-get update && \
|
||||
apt-get install -y zsh dropbear-bin python3 python3-pip python3-virtualenv vim sudo curl git && \
|
||||
mkdir -p /etc/dropbear && \
|
||||
useradd -s /bin/zsh -u 1000 coder && \
|
||||
echo 'coder ALL=(ALL:ALL) NOPASSWD:ALL' >> /etc/sudoers && \
|
||||
apt-get clean
|
||||
|
||||
CMD [ "/usr/sbin/dropbear", "-swEF" ]
|
Reference in New Issue
Block a user