Sign inSign up

cenk1cenk2/pipe-mise

By cenk1cenk2

•Updated 1 day ago

mise tool installs for pipelines.

Image
0

475

cenk1cenk2/pipe-mise repository overview

⁠pipe-mise

Pipe for installing tools with mise.

The image ships in two variants, and the variant decides the libc of every tool mise installs.

TagBaseFlavor
latestalpine (musl), the defaultmusl-amd64
latest-glibcdebian (glibc), for glibc consumersglibc-amd64

The flavor has to match the libc of the image that consumes the cache: a musl cache only serves static or musl-linked tools on a glibc consumer, and a glibc cache serves nothing on alpine. The flavor is part of the cache key, so the two variants never share a cache.

pipe-mise [GLOBAL FLAGS] [COMMAND] [FLAGS]

⁠Global Flags

CLI

Flag / EnvironmentDescriptionTypeDefault
$LOG_LEVELDefine the log level for the application.string
enum("panic", "fatal", "warn", "info", "debug", "trace")
"info"
$ENV_FILEEnvironment files to inject.string[]

⁠Commands

⁠pipe-mise install

Install the tools of the mise configuration into the data directory.

The data directory carries its own copy of the mise binary and the shims link to that copy, so a job that restores the directory runs the tools without mise in its image.

pipe-mise install [FLAGS]

⁠Flags

Install

Flag / EnvironmentDescriptionTypeDefault
$MISE_INSTALL_PRUNERemove the tool versions the configuration no longer asks for, so the data directory does not grow with every bump.booltrue
$MISE_INSTALL_ARGSArguments to append to the install command.string

Setup

Flag / EnvironmentDescriptionTypeDefault
$MISE_CWDWorking directory for mise commands.string"."
$MISE_DATA_DIRData directory for mise, which holds the binary, the installs and the shims. Every job that restores it has to use the same absolute path, since the shims link into it.string"./.mise/"

Tag summary

Content type

Image

Digest

sha256:e81bfc4d8…

Size

61.3 MB

Last updated

1 day ago

docker pull cenk1cenk2/pipe-mise