Modified by David Mallon forked from Kevin Delfour
Added needed tools
- Node Version Manager (nvm)
- Node Version 8.x
- Advanced, production process manager (PM2)
News: Now integrated with AWS Cloud9
This repository contains Dockerfile of Cloud9 IDE for Docker's automated build published to the public Docker Hub Registry.
Download automated build from public Docker Hub Registry: docker pull mallond/cloud9
(alternatively, you can build an image from Dockerfile: docker build -t="mallond/cloud9" github.com/mallond/cloud9)
docker run -it -d -p 80:80 mallond/cloud9
You can add a workspace as a volume directory with the argument -v /your-path/workspace/:/workspace/ like this :
docker run -it -d -p 80:80 -v /your-path/workspace/:/workspace/ mallond/cloud9
Get the latest version from github
git clone https://github.com/mallond/cloud9-docker
cd cloud9-docker/
Build it
sudo docker build --force-rm=true --tag="$USER/cloud9:latest" .
And run
sudo docker run -d -p 80:80 -v /your-path/workspace/:/workspace/ $USER/cloud9-docker:latest
Enjoy !!
Official use only;0
On change and test please remember to trigger the Dockerhub automated build. See below trigger. Login to get 'a secret token'
Trigger Automated Dockerhub build
curl -H "Content-Type: application/json" --data '{"build": true}' -X POST https://registry.hub.docker.com/u/mallond/cloud9/trigger/[a secret token/