Skip to content

Commit

Permalink
Open CHE_PROJECTS_ROOT by default (#2)
Browse files Browse the repository at this point in the history
* Open 'PROJECTS_ROOT' by default

Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
  • Loading branch information
azatsarynnyy authored Nov 30, 2021
1 parent 3337e99 commit 2c892f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/scripts/entrypoint-volume.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ else
fi

# Launch che with a custom connection-token
./node out/vs/server/main.js --port 3100 --connection-token eclipse-che
./node out/vs/server/main.js --port 3100 --connection-token eclipse-che --folder ${PROJECTS_ROOT}
4 changes: 2 additions & 2 deletions build/scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fi
# detect if we're using alpine/musl
libc=$(ldd /bin/ls | grep 'musl' | head -1 | cut -d ' ' -f1)
if [ -n "$libc" ]; then
/checode-linux-musl/node /checode-linux-musl/out/vs/server/main.js --port 3100
/checode-linux-musl/node /checode-linux-musl/out/vs/server/main.js --port 3100 --folder ${PROJECTS_ROOT}
else
/checode-linux-libc/node /checode-linux-libc/out/vs/server/main.js --port 3100
/checode-linux-libc/node /checode-linux-libc/out/vs/server/main.js --port 3100 --folder ${PROJECTS_ROOT}
fi

0 comments on commit 2c892f4

Please sign in to comment.