chore: Update Dockerfile to remove unnecessary SSH server configuration

This commit is contained in:
2024-07-06 20:13:37 +02:00
parent 13cd0e1ea2
commit 50e9c8c76b
5 changed files with 227 additions and 25 deletions
+12 -6
View File
@@ -8,13 +8,19 @@ WORKDIR /workspace
RUN npm install -g pm2
# Install git, openssh-client, and openssh-server
RUN apt-get update && apt-get install -y git openssh-client software-properties-common
RUN apt-get install -y fish
RUN apt-get update && apt-get install -y git openssh-client software-properties-common sudo
# RUN apt-get install -y fish
SHELL [ "fish", "--command" ]
RUN chsh -s /usr/bin/fish
ENV SHELL /usr/bin/fish
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8
RUN usermod -aG sudo root
RUN git clone https://gitea.bramkelchtermans.be/Bram/linux-presets.git && cd linux-presets && chmod +x setup.sh && ./setup.sh --terminal-icon 
RUN rm -r linux-presets
# SHELL [ "fish", "--command" ]
# RUN chsh -s /usr/bin/fish
# ENV SHELL /usr/bin/fish
# ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8
# Create a directory for the SSH keys
RUN mkdir -p /root/.ssh