Images are automatically built and pushed by GitHub Actions
when Dockerfiles are changed on main, and on a monthly schedule.
- Update the fish version in the relevant Dockerfile (e.g.
Dockerfile.v4) - Check the fish-shell PPA for the correct version string for your Ubuntu base
(e.g.
4.4.0-4~noble) - Push or merge to
main— the CI workflow will build, verify, and push to both Docker Hub and GitHub Container Registry
Building the image requires Docker 1.12 and up, due to the SHELL Dockerfile instruction.
In terms of maintenance, periodically check whether there is a new
For example, making a Docker image for fish 3.7.1 on Ubuntu 22.04 (jammy):
- Get the PPA version for the appropriate release series
- Update the version in the Dockerfile (e.g. 3.7.1-1~jammy)
- Build a new tagged image
docker image build -f Dockerfile.v3 --tag fish-shell --tag dideler/fish-shell:3.7.1 --tag ghcr.io/dideler/fish-shell:3.7.1 ./.
- Verify the version is correct
docker container run --rm fish-shell --version
- Push the image to DockerHub and GitHub Container Registry
docker image push dideler/fish-shell:3.7.1 docker image push ghcr.io/dideler/fish-shell:3.7.1