Dagger
Search

pkgx

This module provides a set of functions to install packages and to create a development environment with pkgx installed.

Installation

dagger install github.com/tsirysndr/daggerverse/pkgx@83d545f520210af71993263c87abaadbf9f42a5e

Entrypoint

Return Type
Pkgx
Example
func (m *myModule) example() *Pkgx  {
	return dag.
			Pkgx()
}

Types

Pkgx 🔗

install() 🔗

Install packages in a Docker Container and return it

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
pkgs[String ! ] !-No description provided
Example
func (m *myModule) example(pkgs []string) *Container  {
	return dag.
			Pkgx().
			Install(pkgs)
}

dev() 🔗

Activate developer environment in a Docker Container and return it

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
func (m *myModule) example() *Container  {
	return dag.
			Pkgx().
			Dev()
}