feat: remove unnecessary quest Dockerfiles

This commit is contained in:
Justin Lin committed 2024-10-14 12:40:53 +08:00
1 parent 247f03b71a
commit a4ed4cf533
16 files changed
+8 -49

No files matched your search

+1
View File
@@ -4,6 +4,7 @@ USERNAME=commander
if ! id -u ${USERNAME} >/dev/null 2>&1; then
adduser --disabled-password --gecos '' --shell /bin/zsh ${USERNAME} && \
find / -name ".gitkeep" -type f -exec rm -f {} +
mkdir -p /home/${USERNAME}/.ssh && \
cp /ssh_key.pub /home/${USERNAME}/.ssh/authorized_keys && \
chmod 600 /home/${USERNAME}/.ssh/authorized_keys && \