Skip to content

zakame/devspace-perl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Provides Perl container image for devspace.sh

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages