Skip to content

Commit

Permalink
Remove fish and VSCode (#306)
Browse files Browse the repository at this point in the history
* remove fish

* remove vscode
  • Loading branch information
MarijaGolubovic authored Jan 4, 2025
1 parent 4ba6643 commit 0f93aaa
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 457 deletions.
27 changes: 0 additions & 27 deletions docker/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -43,31 +43,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y -o Dpkg::Option
vim \
rsync \
dialog \
fish \
fuse

# VS Code
RUN curl -L -o /tmp/vscode.deb \
'https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64' && \
apt-get install -y /tmp/vscode.deb && \
rm -f /tmp/vscode.deb

RUN su memristor -c 'code --install-extension eamodio.gitlens' && \
su memristor -c 'code --install-extension ms-python.python' && \
su memristor -c 'code --install-extension ms-vscode.cpptools-extension-pack' && \
su memristor -c 'code --install-extension usernamehw.errorlens' && \
su memristor -c 'code --install-extension redhat.vscode-xml' && \
su memristor -c 'code --install-extension ms-iot.vscode-ros'

# VS Code server, pinning version 4.22.0 as later versions seem to have broken the installation of cpp and ros extensions
RUN su memristor -c 'curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.22.0 ' && \
su memristor -c 'code-server --install-extension eamodio.gitlens' && \
su memristor -c 'code-server --install-extension ms-python.python' && \
su memristor -c 'code-server --install-extension ms-vscode.cpptools-extension-pack' && \
su memristor -c 'code-server --install-extension usernamehw.errorlens' && \
su memristor -c 'code-server --install-extension redhat.vscode-xml' && \
su memristor -c 'code-server --install-extension ms-iot.vscode-ros'

# Webots
RUN curl -L -o /tmp/webots.deb \
'https://github.com/cyberbotics/webots/releases/download/R2023b/webots_2023b_amd64.deb' && \
Expand Down Expand Up @@ -95,10 +72,6 @@ RUN wget -O /tmp/hotfix.deb http://snapshots.ros.org/humble/2024-08-28/ubuntu/po

# User config
COPY ./config/bashrc /tmp/bashrc
COPY ./config/fish/. /memristor/.config/fish/
COPY ./config/starship.toml /memristor/.config/starship.toml
COPY ./config/vscode-server/config.yaml /memristor/.config/code-server/config.yaml
COPY ./config/vscode/. /memristor/ros2_ws/.vscode/
COPY ./config/Cyberobotics/. /memristor/.config/Cyberbotics/
COPY --chmod=755 ./config/setup.sh /usr/bin/

Expand Down
3 changes: 0 additions & 3 deletions docker/config/fish/config.fish

This file was deleted.

23 changes: 0 additions & 23 deletions docker/config/fish/git.fish

This file was deleted.

291 changes: 0 additions & 291 deletions docker/config/fish/shortcuts.fish

This file was deleted.

Loading

0 comments on commit 0f93aaa

Please sign in to comment.