added doc for adding claude code to path
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Before developing on code-server I configure a Dockerfile to install all packages needed for Spring Boot, Java and Vite.
|
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:
|
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
|
# Set Java Environment
|
||||||
ENV JAVA_HOME=/usr/lib/jvm/java-25-openjdk-amd64
|
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}"
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user