Docker support
May 29, 2026 ยท View on GitHub
Docker support for Pharo
Launchpad provides a Docker image that can be used as base for containerized applications. It's built on top of pharo:v13.1.2, adding some useful scripts for Launchpad-based applications:
launchpadstarts the CLIlaunchpad-explainstarts the CLI with theexplaincommandlaunchpad-liststarts the CLI with thelistcommandlaunchpad-startstarts the CLI with thestartcommand and set up aSIGTERMhandler for gracefully stopping the application.launchpad-healthcheckis run as the default dockerHEALTHCHECK
How to use as base pharo docker image
In your Dockerfile put something like:
FROM ghcr.io/ba-st/pharo-loader:v13.1.2 AS loader
# Load your own application
RUN pharo metacello install github://owner/repo:branch BaselineOfProject
FROM ghcr.io/ba-st/launchpad:v5
COPY --from=loader /opt/pharo/Pharo.image ./
COPY --from=loader /opt/pharo/Pharo*.sources ./
# Your own directives
CMD [ "launchpad-start", "app-name" , "--parameter=value" ]
Environment variables
LAUNCHPAD__COMMAND_SERVER_PORTdefines in which port is listening the TCP command server. Defaults to 22222.LAUNCHPAD__LOG_FORMATcan be set tojsonto enable structured logging.LAUNCHPAD__SETTINGS_FILEdefines the path to a settings file to load for application configuration. Supports INI and JSON formats (see the configuration reference for details).
Docker support for GemStone/S 64
Launchpad provides a Docker image that can be used as base for containerized gems. It's built on top of gs64-gem:v3.7.1, adding some useful scripts for Launchpad-based applications:
launchpadstarts the CLI
How to use as base gem docker image
In your Dockerfile put something like:
FROM ghcr.io/ba-st/launchpad-gs64-3.7.1:v5
# Your own directives
CMD [ "launchpad", "start", "app-name" , "--parameter=value" ]
Note that
ghcr.io/ba-st/launchpad-gs64packages are deprecated and not receiving more updates. Useghcr.io/ba-st/launchpad-gs64-3.7.1instead.