Skip to content

Commit

Permalink
fix code server
Browse files Browse the repository at this point in the history
  • Loading branch information
gezp committed Oct 23, 2024
1 parent 996a98f commit ea161d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ubuntu-desktop/docker_config/install_code_server.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/bash
version=4.93.1
arch=$(dpkg --print-architecture)
codename=$(lsb_release --short --codename)
if [[ $codename == 'bionic' ]]; then
version=4.16.1
fi
curl -fSL "https://github.com/coder/code-server/releases/download/v${version}/code-server_${version}_${arch}.deb" -o code-server.deb
dpkg -i ./code-server.deb
rm code-server.deb

0 comments on commit ea161d0

Please sign in to comment.