diff --git a/docs/02-Preparation/01-code-server-adjustments.md b/docs/02-Preparation/01-code-server-adjustments.md index 41bc345..30fe462 100644 --- a/docs/02-Preparation/01-code-server-adjustments.md +++ b/docs/02-Preparation/01-code-server-adjustments.md @@ -2,7 +2,7 @@ Before developing on code-server I configure a Dockerfile to install all packages needed for Spring Boot, Java and Vite. -I install openjdk 25, nodejs 24.x and yarn and set the environment variables for Java. +I install openjdk 25, nodejs 24.x and yarn and set the environment variables for Java (and the /config/.local/bin folder that gets used for tools like Claude Code). Since the linuxserver code-server image doesn't come with root access for its default user abc out of the box every privileged action will be baked in here: @@ -20,7 +20,7 @@ RUN apt update && apt install -y \ # Set Java Environment ENV JAVA_HOME=/usr/lib/jvm/java-25-openjdk-amd64 -ENV PATH="$JAVA_HOME/bin:${PATH}" +ENV PATH="/config/.local/bin:$JAVA_HOME/bin:${PATH}" ```