I wanted to use the official docker image for GitLab CI to avoid the need to install fly manually in each job. And to reduce the number of code I need to maintain myself.
flyctl:
image:
name: ghcr.io/superfly/flyctl
entrypoint: [""]
script:
- flyctl version
This does not work, since the image is based on scratch
.
scratch
makes sense, if the image is used in other contexts.
However, for GitLab CI, one needs some kind of shell.
This is why I why I request you to add an official image, ready for CI.
This could be a simple alpine or debian based image with bash or sh installed.