Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.15 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.15 KB

devspace-perl

This repo builds a Perl container image meant to be used for devspace.

Quick Start

  • Run devspace init on your Perl project

  • Edit devspace.yaml so it uses this image for your dev container, and add a custom start command:

dev:
  app:
    imageSelector: my-image-registry.tld/username/app
    devImage: ghcr.io/zakame/devspace-perl:5.40-slim-bookworm

commands:
  start:
    command: |-
      devspace enter -- bash -c 'morbo ./path/to/app -l http://0.0.0.0:3000'
  • Edit devspace_start.sh to set up your dev container:
# If your project has a Carton snapshot, for example:
apt-get update
apt-get install -y --no-install-recommends gcc libssl-dev
echo "Installing Carton snapshot support for cpm"
cpm install -g Carton

echo "Installing cpanfile dependencies"
cpm install -g
  • Run devspace dev and hack away!

See Also