Skip to content

Commit

Permalink
Update entrypoint-init-container.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
azatsarynnyy authored Oct 23, 2024
1 parent d23185e commit ccc1cc2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/scripts/entrypoint-init-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ fi
# Download the IDE binaries and install them to the shared volume.
cd "$ide_server_path"
echo "Downloading IDE binaries..."
# After updating the versions here, update the editor definitions in https://github.com/eclipse-che/che-operator/tree/main/editors-definitions
if [[ "$ide_flavour" == "idea" ]]; then
curl -sL https://download.jetbrains.com/idea/ideaIU-2024.2.3.tar.gz | tar xzf - --strip-components=1
elif [[ "$ide_flavour" == "webstorm" ]]; then
Expand All @@ -47,8 +48,8 @@ fi
cp -r /status-app/ "$ide_server_path"
cp /entrypoint-volume.sh "$ide_server_path"

# Copy Node.js to the editor volume,
# in case there is no one in the user's container.
# Copy Node.js binaries to the editor volume.
# It will be copied to the user container if it's absent.
cp /usr/bin/node "$ide_server_path"/node-ubi9
cp /node-ubi8 "$ide_server_path"/node-ubi8

Expand Down

0 comments on commit ccc1cc2

Please sign in to comment.