Skip to Content
ASE

glab (GitLab CLI)

GitLab's official command-line tool for issues, merge requests and releases.

Usage

.devcontainer/devcontainer.json
{
  "features": {
    "ghcr.io/hansehart/devcontainer-features/glab:1": {}
  }
}

Version 1.0.0, see the changelog for what changed.

Options

OptionDefaultDescription
versionlatestChannel (latest), a release line (major or major.minor), or an exact version (major.minor.patch).
stateDirIf set, puts this feature's data at this path, which must be inside the remote user's home. Mount a volume there to persist it across rebuilds.

Customizations

Open Secure Software Suite

The hosts the tool reaches:

HostPortsSecretFor
gitlab.com443GITLAB_TOKENSign-in and the REST and GraphQL APIs

The variables that set its defaults:

VariableValueFor
GLAB_SEND_TELEMETRYfalseWith false, telemetry stays off
GLAB_CHECK_UPDATEfalseWith false, the daily release check stays off
GLAB_CONFIG_DIR${stateDir}glab's config and sign-in in the state dir

On this page