Skip to content

Add Dockerfile and GitHub Actions workflow for Docker image build (closes #3633)#3764

Open
foxfromworld wants to merge 4 commits into
sharkdp:masterfrom
foxfromworld:master
Open

Add Dockerfile and GitHub Actions workflow for Docker image build (closes #3633)#3764
foxfromworld wants to merge 4 commits into
sharkdp:masterfrom
foxfromworld:master

Conversation

@foxfromworld

Copy link
Copy Markdown
Contributor

This PR introduces Docker support for bat:

  • Added a Dockerfile to build bat from source.
  • Added a GitHub Actions workflow (docker.yml) that triggers on release and automatically builds and publishes Docker images to GHCR.
  • Images are tagged with the release version (e.g. ghcr.io/sharkdp/bat:v0.26.10) and also pushed as latest.

This allows users to run bat directly via Docker without compiling Rust locally:

docker pull ghcr.io/sharkdp/bat:vX.Y.Z
docker run --rm ghcr.io/sharkdp/bat:vX.Y.Z --version

Closes #3633

Updated the changelog to reflect changes in Dockerfile and GitHub Actions workflow.
Updated the entry for Dockerfile and GitHub Actions workflow to reflect changes related to issue sharkdp#3764.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a docker image

1 participant