Sign inSign up

tennox/fission-cli

By tennox

•Updated almost 2 years ago

Docker image with fission's cli (https://fission.codes)

Image
0

1.4K

tennox/fission-cli repository overview

⁠Docker image with fission suite⁠'s cli⁠

⁠Usage

# Just open CLI
docker run --rm -it tennox/fission-cli
# Mount working dir and open terminal with fission cli
docker run --rm -it -v $PWD:/app -w /app tennox/fission-cli
⁠Auto-setup

If you set either

  • FISSION_MACHINE_KEY or
  • FISSION_MACHINE_KEYFILE (a path inside the docker container)

The fission CLI will be set up automatically.

For details on those keys check the docs for the official GitHub action⁠

docker run --rm -it -e FISSION_MACHINE_KEY=$(base64 ~/.config/fission/key/machine_id.ed25519) tennox/fission-cli
⁠One-line publish
  • working dir needs fission.yaml (run fission app register)
docker run --rm -it -v $PWD:/app -w /app \
    -e FISSION_MACHINE_KEY=$(base64 ~/.config/fission/key/machine_id.ed25519) \
    tennox/fission-cli:latest fission up
⁠GitLab CI
  • set FISSION_MACHINE_KEY (or ...KEYFILE) as a Secret Variable
deploy fission:
  stage: deploy
  image: tennox/fission-cli:latest
  script:
    - fission up

Tag summary

Content type

Image

Digest

sha256:cba5d9d1c…

Size

46.9 MB

Last updated

almost 2 years ago

docker pull tennox/fission-cli