chore: Update Dockerfile to remove unnecessary SSH server configuration
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
react-app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./id_rsa:/root/.ssh/id_rsa
|
||||
environment:
|
||||
REPO_URL: "ssh://git@gitea.bramkelchtermans.be:2222/Bram/comedy-kit-frontend.git"
|
||||
command: ["/usr/local/bin/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user