Skip to content

rwunderer/scw-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub license Renovate enabled

scw-cli

Minimal Docker image with Scaleway cli utility

Image variants

This image is based on distroless and comes in two variants:

Minimal image

The minimal image is based on gcr.io/distroless/static-debian12:nonroot and does not contain a shell. It can be directly used from the command line, eg:

$ docker run --rm -it ghcr.io/rwunderer/scw-cli:v2.23.0-minimal version
Version    2.23.0
BuildDate  2023-10-16T12:02:36Z
GoVersion  go1.20.8
GitBranch  HEAD
GitCommit  af247ace
GoArch     amd64
GoOS       linux

Debug image

The debug images is based on gcr.io/distroless/base-debian12:debug-nonroot and contains a busybox shell for use in ci images. As scw's output is also available in json it also containts jq.

E.g. for GitLab CI do:

list images:
  image:
    name: ghcr.io/rwunderer/scw-cli:v2.23.0-debug
    entrypoint: [""]
  variables:
    SCW_ACCESS_KEY=""
    SCW_SECRET_KEY=""

  script:
    - scw instance image list

Workflows

Badge Description
Auto-Tag Automatic Tagging of new scw releases
Docker Docker image build