Skip to content

Commit d5272dc

Browse files
authored
Update Dockerfile
1 parent a0d61a6 commit d5272dc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.devcontainer/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ ENV HOME=/home/vscode
55
SHELL [ "/bin/bash", "-c" ]
66
RUN <<'SCRIPT'
77
set -eux
8-
REAL_JB_DATA_DIR="/usr/local/gitpod/shared/jetbrains/.local/share"
9-
SYMLINK_JB_DIR="$HOME/.local/share/JetBrains"
10-
PLUGINS_DIR="$REAL_JB_DATA_DIR/plugins"
118

9+
# Customize your plugins and IDEs here
1210
plugins=(
1311
"https://plugins.jetbrains.com/plugin/download?rel=true&updateId=780441" # Copied from https://plugins.jetbrains.com/plugin/7808-terraform-and-hcl/versions/stable -> 2025.1.3
1412
"https://plugins.jetbrains.com/plugin/download?rel=true&updateId=780445" # Copied from https://plugins.jetbrains.com/plugin/6351-dart/versions/stable -> 2025.1.3
@@ -18,13 +16,16 @@ ides=(
1816
"WebStorm2025.1"
1917
)
2018

19+
# No need to touch the installation logic below
20+
REAL_JB_DATA_DIR="/usr/local/gitpod/shared/jetbrains/.local/share"
21+
SYMLINK_JB_DIR="$HOME/.local/share/JetBrains"
22+
PLUGINS_DIR="$REAL_JB_DATA_DIR/plugins"
2123
mkdir -m 0777 -p "$PLUGINS_DIR" "${SYMLINK_JB_DIR%/*}" && cd "$PLUGINS_DIR"
2224
ln -sf "$REAL_JB_DATA_DIR" "$SYMLINK_JB_DIR"
2325
for plugin in "${plugins[@]}"; do {
2426
curl -L "$plugin" -o /tmp/download
2527
unzip /tmp/download
2628
} done
27-
2829
for ide in "${ides[@]}"; do {
2930
mkdir -p "$JB_DIR/$ide"
3031
ln -sf "$PLUGINS_DIR/"* "$JB_DIR/$ide/"

0 commit comments

Comments
 (0)