Minimal Docker image with Scaleway cli utility
This image is based on distroless and comes in two variants:
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
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
Badge | Description |
---|---|
Automatic Tagging of new scw releases | |
Docker image build |