Skip to content

msumpter/docker-cloud9-ide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#docker-cloud9-ide

Cloud9 IDE - Ubuntu/Phusion-base image built to run as specific system user to maintain proper file ownership within the mounted workspace volume. Image may take input via environment variables passed at run time, upon startup directory permissions are adjusted, not passing the AUTH variable disables authentication completely. Passing SUDO=true allows the use of sudo within the container to allow customization.

#Quickstart

docker run -d -p 8081:3000 -p 8080:8080 -v `pwd`:/workspace/ -e AUTH=username:password -e SUDO=true -e USERID=`id -u` -e USER=`id -un` -e GROUPID=`id -g` msumpter/docker-cloud9-ide

Then direct your web browser to http://hostname:8081/

To install additional packages from within Cloud9 console (if sudo is enabled)

sudo apt update
sudo apt -y install php-cli

You can also expose a local service from within the docker container on port 8080

mkdir phpinfo
cd phpinfo
echo "<?php phpinfo(); ?>" > index.php
php -S 0.0.0.0:8080

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages