NOT MAINTAINED!
I'm no longer maintaining this repository!
This project has has been deprecated for tomerfi/c9sdk_docker.
You can still use the files ☝️, if you want.
These 👇 are the instructions.
Alpine based image running Cloud9-SDK IDE.
From alpine:3.8
described here.
- html_page_name
(applicable for build stage only) used for setting the main page name (origin and default iside
).
this is nice to have if you're working in a "multi ide's" enviroment, it's quicker to identify which enviroment you are working on.
- C9USER
used for setting the user name for login to the ide, default value isc9user
. - C9PASSWORD
used for setting the password for login to the ide, default value isc9password
.
- /workspace
used for binding a path from the host for allowing data persistence.
- 8080
used for accessing the ide.
docker run -p 8080:8080 -v /path_for_data_persistence:/workspace -e C9USER="user_name" -e C9PASSWORD="nice_password" --name my_container_name tomerfi/alpine-c9:latest
version: "3"
services:
ide:
image: tomerfi/alpine-c9:latest
container_name: my_container_name
environment:
- C9USER=user_name
- C9PASSWORD=nice_password
ports:
- 8080:8080
volumes:
- /path_for_data_persistence:/workspace
restart: unless-stopped
git clone https://github.com/TomerFi/alpine_cloud9_docker.git /path_for_repository
docker build /path_for_repository --build-arg html_page_name="cool_page_name" --tag alpine-c9:some_tag
docker run -p 8080:8080 -v /path_for_data_persistence:/workspace -e C9USER="user_name" -e C9PASSWORD="nice_password" --name my_container_name alpine-c9:some_tag
version: "3"
services:
ide:
build:
context: .
dockerfile: Dockerfile
args:
- html_page_name=cool_page_name
container_name: my_container_name
environment:
- C9USER=user_name
- C9PASSWORD=nice_password
ports:
- 8080:8080
volumes:
- /path_for_data_persistence:/workspace
restart: unless-stopped