Added CLion image (#81)

This commit is contained in:
Timo 2021-06-23 22:38:48 +02:00 committed by GitHub
parent 338dc0d205
commit c00d794540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,14 @@
FROM codercom/enterprise-multieditor:centos
# 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

View File

@ -0,0 +1,14 @@
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

13
images/clion/README.md Normal file
View File

@ -0,0 +1,13 @@
# Enterprise CLion
[![Docker Pulls](https://img.shields.io/docker/pulls/codercom/enterprise-clion?label=codercom%2Fenterprise-clion)](https://hub.docker.com/r/codercom/enterprise-clion)
## Description
Wraps [enterprise-multieditor](../multieditor/README.md) with CLion
installation.
## How To Use It
This image is ready for direct use within Coder Enterprise. Environments created
from this image will be able to launch CLion.

View File

@ -20,4 +20,5 @@ IMAGES=(
"ruby"
"vnc"
"webstorm"
"clion"
)