chore: Update Dockerfile to include fish shell and set it as default
This commit is contained in:
@@ -8,7 +8,13 @@ WORKDIR /workspace
|
|||||||
RUN npm install -g pm2
|
RUN npm install -g pm2
|
||||||
|
|
||||||
# Install git, openssh-client, and openssh-server
|
# Install git, openssh-client, and openssh-server
|
||||||
RUN apt-get update && apt-get install -y git openssh-client
|
RUN apt-get update && apt-get install -y git openssh-client software-properties-common
|
||||||
|
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
|
||||||
|
|
||||||
# Create a directory for the SSH keys
|
# Create a directory for the SSH keys
|
||||||
RUN mkdir -p /root/.ssh
|
RUN mkdir -p /root/.ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user