GitXplorerGitXplorer
m

pharo-vnc-supervisor

public
17 stars
3 forks
0 issues

Commits

List of commits on branch master.
Unverified
bc651805bc62d3f10dc5180a0767029922a2ba08

Fixed README

mmumez committed 10 months ago
Verified
7a8d284bfdef06425a1d91822e44a9f5cc659799

Merge pull request #14 from mumez/feature/pharo110

mmumez committed 10 months ago
Unverified
53b87a82d1fd74ebc8e99dc81db4a21ab3c6762f

- Now Pharo 11 is the default image

mmumez committed 10 months ago
Verified
a7e1589991a2d35597dd9ca26d393b9b918e8b06

Merge pull request #13 from mumez/feature/focal-support

mmumez committed 2 years ago
Unverified
45915fff8ec695522559bbdf3c45127023d0c3cd

Updated libssl for Ubuntu focal-based image

mmumez committed 2 years ago
Verified
29d6a7b169e9ed9d144f6c93533b79e1b4452c18

Merge pull request #12 from mumez/feature/pharo100

mmumez committed 2 years ago

README

The README file for this repository.

pharo-vnc-supervisor

A Docker image for Pharo Smalltalk. Especially suitable for web application development and delivery.

  • Pharo process is daemonized by supervisord.
  • Debuggable via VNC.

Usages

docker run --name my_pharo -d -p 5900:5900 -p 6901:6901 mumez/pharo-vnc-supervisor

You can access the running pharo image via VNC client or web browser. (the default password is 'vncpassword')

  • VNC client: yourhost:5900
  • Web browser: http://yourhost:6901/?password=vncpassword

How to start with a customized Pharo image

  1. Place your customized Pharo image to your docker-host data directory (For example, $HOME/docker/pharo/data).
  2. Use docker run -v option to mount the data direcotry.
docker run --name my_pharo -d -p 5900:5900 -p 6901:6901 \
	-v=$HOME/docker/pharo/data:/root/data \
	mumez/pharo-vnc-supervisor

How to build a customized Pharo image in a container

You can use save-pharo command to build a customized Pharo image.

Install by Metacello

save-pharo metacello <metacello command-line arguments>

REPOS_URL=github://mumez/Tarantalk/repository
docker run --rm -p 5900:5900 -p 6901:6901 \
	-v=$HOME/docker/pharo/data:/root/data \
	mumez/pharo-vnc-supervisor \
	save-pharo metacello install $REPOS_URL BaselineOfTarantalk

Install by Configuration

save-pharo config <Metacello configuration>

docker run --rm -p 5900:5900 -p 6901:6901 \
	-v=$HOME/docker/pharo/data:/root/data \
	mumez/pharo-vnc-supervisor \
	save-pharo config http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo60/main/ \
	ConfigurationOfNeo4reSt --install=stable

Install from Catalog (Obsolete - available before Pharo 6)

save-pharo get <Project name>

docker run --rm -p 5900:5900 -p 6901:6901 \
	-v=$HOME/docker/pharo/data:/root/data \
	mumez/pharo-vnc-supervisor \
	save-pharo get Tarantube

How to change default Pharo image version

By default, Pharo 11.0 will be installed to the docker image. You can specify other versions when building a docker image.

docker build -t pharo120-vnc-supervisor --build-arg PHARO_IMAGE_VERSION=120 .
docker run --name my_pharo120 -d -p 5900:5900 -p 6901:6901 pharo120-vnc-supervisor

Settings

You can change these settings via docker run -e option.

Pharo related environment variables

PHARO_SUPERVISOR_LOG_NAME=pharo-supervisord.log
PHARO_IMAGE=Pharo.image
PHARO_START_SCRIPT=
PHARO_MODE=gui

VNC related environment variables

Please see ubuntu-vnc-supervisor.