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
- Get the PPA version at https://launchpad.net/~fish-shell/+archive/ubuntu/release-3/+packages
- Update the version in the Dockerfile (e.g. 3.1.0-1~bionic)
- Build a new tagged image
docker image build --tag fish-shell --tag dideler/fish-shell:3.1.0 --tag ghcr.io/dideler/fish-shell:3.1.0 ./.
- 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.1.0 docker image push ghcr.io/dideler/fish-shell:3.1.0