15 lines
413 B
Docker
15 lines
413 B
Docker
FROM codercom/enterprise-multieditor:ubuntu
|
|
|
|
# Run everything as root
|
|
USER root
|
|
|
|
# Install clion.
|
|
RUN mkdir -p /opt/clion
|
|
RUN curl -L "https://download.jetbrains.com/product?code=CL&latest&distribution=linux" | tar -C /opt/clion --strip-components 1 -xzvf -
|
|
|
|
# Add a binary to the PATH that points to the clion startup script.
|
|
RUN ln -s /opt/clion/bin/clion.sh /usr/bin/clion
|
|
|
|
# Set back to coder user
|
|
USER coder
|