Sign inSign up

mumez/smalltalk-interop-docker

By mumez

•Updated 6 months ago

A Docker image for running PharoSmalltalkInteropServer with VNC and supervisord.

Image
Developer tools
0

513

mumez/smalltalk-interop-docker repository overview

⁠smalltalk-interop-docker

smalltalk-interop-docker⁠

A Docker image for running PharoSmalltalkInteropServer⁠ with VNC and supervisord.

By combining this image with smalltalk-dev-plugin⁠, you can use AI-assisted Pharo development (e.g., via Claude Code) without polluting your local environment. Pharo runs fully isolated inside the container as a sandbox, keeping your host system clean while enabling seamless AI-driven development workflows.

⁠Quick Start

Create a compose.yml:

services:
  sis-pharo:
    image: mumez/smalltalk-interop-docker:latest
    ports:
      - "5900:5900"
      - "6901:6901"
      - "8086:8086"
    environment:
      PHARO_SIS_PORT: 8086
    volumes:
      - sis-screenshots:/root/screenshots
      - .:/root/repos  # Mount your project repository here

volumes:
  sis-screenshots:

Start the container:

docker compose up -d

Once running, the Smalltalk Interop Server is available at http://localhost:8086, and Pharo is accessible via VNC at http://localhost:6901/?password=vncpassword.

⁠Environment Variables

VariableDescriptionDefault
PHARO_SIS_PORTServer port8086
PHARO_SIS_SCREENSHOT_DIRScreenshot output directory/root/screenshots

⁠Volumes

PathDescription
/root/smalltalk-interopPharoSmalltalkInterop server directory
/root/screenshotsScreenshot output directory
/root/reposRepositories directory. Mount a local directory containing your Pharo project Git repositories. PharoSmalltalkInteropServer imports from and exports packages to this directory.

⁠Usage

⁠Build and run (example)

Using Docker Compose:

docker compose up -d

Using the run script:

bash run.sh
⁠Custom port
docker run --name sis-pharo01 -d \
    -p 5900:5900 \
    -p 6901:6901 \
    -p 9090:9090 \
    -e PHARO_SIS_PORT=9090 \
    -v /host/path/screenshots:/root/smalltalk-interop/screenshots \
    -v /host/path/repos:/root/repos \
    sis-pharo
⁠Access
  • Smalltalk Interop Server base URL: http://localhost:8086
  • Pharo VNC (browser): http://localhost:6901/?password=vncpassword
  • Pharo VNC (client): localhost:5900
⁠Other settings

For VNC-related settings (VNC port, password, etc.), see ubuntu-vnc-supervisor⁠.

For Pharo-related settings (Pharo version, mode, etc.), see pharo-vnc-supervisor⁠.

Tag summary

Content type

Image

Digest

sha256:76fbda958…

Size

383.1 MB

Last updated

6 months ago

docker pull mumez/smalltalk-interop-docker