coder-enterprise-images/images/pycharm/Dockerfile.ubuntu

15 lines
438 B
Docker

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