serheang/pycharm_singularity:latest

$ singularity pull shub://serheang/pycharm_singularity:latest

Singularity Recipe

bootstrap: docker
from:alpine:latest

%labels
  MAINTAINER setan
  WHATAMI pycharm-edu
  VERSION 2019.2

%environment
  export PATH=/usr/local/bin:$PATH

%post
  export PYCHARM="pycharm-edu-2019.2.1"
  apk update
  apk add wget 
  apk add python py-pip 
  apk add python3 py3-pip 
  apk add openjdk11-jre
  apk add libcanberra-gtk3
  apk add xfce4 xfce4-terminal
  ## PREP
  rm -rf /opt/${PYCHARM}
  rm -f /opt/pycharm
  rm -f /usr/local/bin/pycharm
  rm -f /usr/local/bin/inspect

  ## Get PyCharm
  wget https://download.jetbrains.com/python/${PYCHARM}.tar.gz
  tar zxvf ${PYCHARM}.tar.gz -C /opt
  ln -s /opt/${PYCHARM} /opt/pycharm
  ln -s /opt/pycharm/bin/pycharm.sh /usr/local/bin/pycharm
  ln -s /opt/pycharm/bin/inspect.sh /usr/local/bin/inspect

  ## CLEANUP
  rm ${PYCHARM}.tar.gz

%runscript
  echo "Run Pycharm in alpine container"
  ## piping error to /dev/null to reduce clutter on screen
  /opt/pycharm/bin/pycharm.sh 2>/dev/null

Collection


View on Datalad

Metrics

key value
id /containers/serheang-pycharm_singularity-latest
collection name serheang/pycharm_singularity
branch master
tag latest
commit 99b018df538629df9a0c932c729a1659d98967d9
version (container hash) b921e92e99d7850327bb40d4853d30df05d6f694fdb712a0a3f68fdd04e58c0b
build date 2019-09-27T06:13:47.216Z
size (MB) 484.453125
size (bytes) 507985920
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.