Projects STRLCPY cdebug Commits f20510b6
🤬
  • ■ ■ ■ ■ ■
    .goreleaser.yaml
    skipped 14 lines
    15 15   - goos: linux
    16 16   goarch: arm64
    17 17  archives:
    18  - - replacements:
    19  - amd64: x86_64
     18 + - name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
    20 19  checksum:
    21 20   name_template: 'checksums.txt'
    22 21  snapshot:
    skipped 12 lines
  • ■ ■ ■ ■ ■ ■
    README.md
    skipped 32 lines
    33 33  - Kubernetes (via the API server) - coming later
    34 34  - runc or alike (via directly invoking the CLI) - coming later.
    35 35   
     36 +## Installation
     37 + 
     38 +It's a statically linked Go binary, so you know the drill:
     39 + 
     40 +```sh
     41 +GOOS=linux
     42 +GOARCH=amd64
     43 + 
     44 +curl -Ls https://github.com/iximiuz/cdebug/releases/latest/download/cdebug_${GOOS}_${GOARCH}.tar.gz | tar xvz
     45 + 
     46 +sudo mv cdebug /usr/local/bin
     47 +```
     48 + 
     49 +At the moment, the following targets are (kinda sorta) supported:
     50 + 
     51 +- linux/amd64
     52 +- darwin/amd64
     53 +- darwin/arm64
     54 + 
    36 55  ## Demo 1: An interactive shell with busybox
    37 56   
    38 57  First, a target container is needed. Let's use a distroless nodejs image for that:
    skipped 120 lines
Please wait...
Page is in error, reload to recover