Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Latest commit

 

History

History
95 lines (60 loc) · 2.6 KB

README.md

File metadata and controls

95 lines (60 loc) · 2.6 KB

Cloud9 IDE SDK

"Prompt"

Note: please check GitLab or Docker Hub for the current tags

On my blog I wrote an article about Setting up a powerful self-hosted IDE in the cloud which describe the use of these images.

Registries

GitLab

Available as an automated builds are available at the GitLab container registry.

  • Fedora:
    docker pull registry.gitlab.com/gbraad/c9ide:f24, f25, f26, f27
  • CentOS:
    docker pull registry.gitlab.com/gbraad/c9ide:c7
  • Ubuntu 16.04 (xenial):
    docker pull registry.gitlab.com/gbraad/c9ide:u1604

The following images are based on my devenv environment.

  • Fedora (devenv):
    docker pull registry.gitlab.com/gbraad/c9ide:f24-devenv
  • CentOS 7 (devenv):
    docker pull registry.gitlab.com/gbraad/c9ide:c7-devenv

Docker hub

An alternative automated build is available at the Docker registry.

  • Fedora:
    docker pull gbraad/c9ide:f24, f25, f26, f27
  • CentOS 7:
    docker pull gbraad/c9ide:c7
  • Ubuntu 16.04 (xenial):
    docker pull gbraad/c9ide:c7

The following images are based on my devenv environment.

  • Fedora (devenv):
    docker pull gbraad/c9ide:f24-devenv
  • CentOS 7 (devenv):
    docker pull gbraad/c9ide:c7-devenv

Usage

Running on Docker

Setup an alias

$ alias c9ide='docker run -it --rm -v `pwd`:/workspace gbraad/c9ide:u1604'

or

$ alias c9ide='docker run -it --rm -v `pwd`:/workspace registry.gitlab.com/gbraad/c9ide:u1604'

Invoke C9 IDE

$ cd ~/Projects/[something]
$ c9ide

and open your browser to localhost:8181

Running on OpenShift

Note: restrictions apply, as the container doesn't run as root (UID: 0) without changing settings. Due to this you can not install new packages. However, you can write in /opt/.

$ oc new-app gbraad/c9ide:f25 --name=c9ide

Now you can create a route and open the application from the browser.

Authors

"Gerard Braad"
@gbraad