Sign inSign up

ajeetraina777/sbx-whalesay-kits:latest

Multi-platform
Manifest digest

sha256:f4a0550a2fd524fa843be2a20e77d1d527523265e96dce6ce32c4b9797b0ffa5

Last pushed

9 days by ajeetraina777

Type

Sandbox Kit

Manifest digest

sha256:f4a0550a2fd524fa843be2a20e77d1d527523265e96dce6ce32c4b9797b0ffa5

yaml
schemaVersion: "3"
displayName: "Whalesay \U0001F433"
author: Ajeet Singh Raina <[email protected]>
description: Drops the Docker whale (cowsay) into any sandbox. Run `whalesay "hello"` to make the whale talk; it also greets you on entry. Needs no secret, no network and no install — perl already ships in the sandbox base, so the whale works fully offline.
sourceUrl: https://github.com/ajeetraina/docker-whaleness-day
version: 1.0.0
licenses:
    - Artistic-1.0-Perl OR GPL-1.0-or-later
kind: mixin
provides:
    - [email protected]
capabilities:
    - type: com.docker.sandbox/lifecycle@1
      config:
        install:
            - command: grep -qF '/usr/local/share/whalesay/greet.sh' "$HOME/.bashrc" 2>/dev/null || printf '\n# Docker whale greeting (whalesay kit)\n. "/usr/local/share/whalesay/greet.sh"\n' >> "$HOME/.bashrc"
              description: Greet with the Docker whale on every interactive shell (the kit's entrypoint)
              user: agent
    - type: com.docker.sandbox/agent-context@1
      config:
        contentFile: /usr/share/sandbox/kit/whalesay/whalesay-context.md