Merge pull request #4 from cdr/rm-webstorm

Add PyCharm example
This commit is contained in:
Nathan Potter 2020-03-18 17:11:00 -05:00 committed by GitHub
commit 91274701bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 67 additions and 12 deletions

View File

@ -23,6 +23,7 @@ normally use when installing the IDE onto your local machine. Code-server is abl
find and start the following IDEs if their binaries exist in your PATH:
- intellij-idea-ultimate
- intellij-idea-community
- webstorm
- eclipse
- goland
- pycharm
@ -55,6 +56,7 @@ it will still require one when running it through code-server.
### What editors are known to work?
- VSCode
- IntelliJ IDEA Ultimate and Community editions
- WebStorm
- Eclipse - [GTK Based](#known-issues)
- PyCharm
- GoLand

View File

@ -8,7 +8,8 @@ RUN yum update -y && yum install -y \
libXtst \
libXrender \
fontconfig \
libXi
libXi \
gtk3
# Install goland.
RUN mkdir -p /opt/goland

View File

@ -7,7 +7,8 @@ RUN apt-get update && apt-get install -y \
libxtst6 \
libxrender1 \
libfontconfig1 \
libxi6
libxi6 \
libgtk-3-0
# Install goland.
RUN mkdir -p /opt/goland

View File

@ -8,7 +8,8 @@ RUN yum update -y && yum install -y \
libXtst \
libXrender \
fontconfig \
libXi
libXi \
gtk3
# Install intellij.
RUN mkdir -p /opt/idea

View File

@ -0,0 +1,18 @@
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y \
curl \
# The following libraries are required for the IDE to be able to communicate with
# code-server through xserver messaging.
libxtst6 \
libxrender1 \
libfontconfig1 \
libxi6 \
libgtk-3-0
# Install intellij.
RUN mkdir -p /opt/idea
RUN curl -L https://download.jetbrains.com/idea/ideaIC-2019.3.3.tar.gz | tar -C /opt/idea --strip-components 1 -xzvf -
# Add a binary to the PATH that points to the intellij startup script.
RUN ln -s /opt/intellij/bin/intellij.sh /usr/bin/intellij-idea-community

View File

@ -1,7 +0,0 @@
[Desktop Entry]
Version=2019.3.3
Type=Application
Terminal=false
Name=IntelliJ
Icon=/opt/idea/bin/idea.png
Exec=/opt/idea/bin/idea.sh

19
pycharm/Dockerfile.centos Normal file
View File

@ -0,0 +1,19 @@
FROM centos:8
RUN yum update -y && yum install -y \
curl \
# The following libraries are required for the IDE to be able to communicate with
# code-server through xserver messaging.
openssl \
libXtst \
libXrender \
fontconfig \
libXi \
gtk3
# Install pycharm.
RUN mkdir -p /opt/pycharm
RUN curl -L https://download.jetbrains.com/python/pycharm-community-2019.3.4.tar.gz | 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

18
pycharm/Dockerfile.ubuntu Normal file
View File

@ -0,0 +1,18 @@
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y \
curl \
# The following libraries are required for the IDE to be able to communicate with
# code-server through xserver messaging.
libxtst6 \
libxrender1 \
libfontconfig1 \
libxi6 \
libgtk-3-0
# Install pycharm.
RUN mkdir -p /opt/pycharm
RUN curl -L https://download.jetbrains.com/python/pycharm-community-2019.3.4.tar.gz | 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

View File

@ -8,7 +8,8 @@ RUN yum update -y && yum install -y \
libXtst \
libXrender \
fontconfig \
libXi
libXi \
gtk3
# Install webstorm.
RUN mkdir -p /opt/webstorm

View File

@ -7,7 +7,8 @@ RUN apt-get update && apt-get install -y \
libxtst6 \
libxrender1 \
libfontconfig1 \
libxi6
libxi6 \
libgtk-3-0
# Install webstorm.
RUN mkdir -p /opt/webstorm