Public Repository

Last pushed: 6 months ago
Short Description
Dockerfile for setting up a Cloud9 IDE on a Raspberry Pi.
Full Description

Raspberry Pi Cloud 9 IDE Dockerfile

This repository contains the Dockerfile for setting up a Cloud9 IDE on a Raspberry Pi.

Features:

  • No Defined Authentication
  • User Defined Authentication
  • Custom Workspace directory via mounting Volume containers
  • Automated Build Process
  • Alpine docker base image. hypriot/rpi-alpine:jessie

Installation

Download the automated build from the Docker Hub Registry:

docker pull jdsantiagojr/rpi-cloud9-ide

Usage

# deploy.sh

WORKSPACE=$1
VOLUME=/home/pi/projects/$WORKSPACE

[ -d $VOLUME ] || mkdir -p $VOLUME

docker run --name rpi-cloud9-ide -it -d \
-p 8080:8080 \
-p 8181:8181 \
-p 3000:3000 \
-v $VOLUME:/$WORKSPACE jdsantiagojr/rpi-cloud9-ide node server.js \
-w /$WORKSPACE \
--listen 0.0.0.0 \
-a :

No Defined Authentication

docker run --name rpi-cloud9-ide -it -d \
-p 8181:8181 \
-v /home/pi/projects:/workspace jdsantiagojr/rpi-cloud9-ide node server.js \
-w/workspace \
--listen 0.0.0.0 \
-a :

User Defined Authentication

docker run --name rpi-cloud9-ide -it -d \
-p 8181:8181 \
-v /home/pi/projects:/workspace jdsantiagojr/rpi-cloud9-ide node server.js \
-w/workspace \
--listen 0.0.0.0 \
-a demouser:password

Custom Workspace directory via mounting Volume containers

docker run --name rpi-cloud9-ide -it -d \
-p 8181:8181 \
-v /path/to/workspace jdsantiagojr/rpi-cloud9-ide node server.js \
-w/workspace \
--listen 0.0.0.0 \
-a :
Docker Pull Command
Owner
jdsantiagojr

Comments (0)