This repository contain the source code for building the official Docker images for Biome.
Supported architectures: amd64
, arm64
Docker images are available for all versions of Biome starting from 1.7.0
.
Images are tagged with the following format:
ghcr.io/biomejs/biome:{major}
ghcr.io/biomejs/biome:{major}.{minor}
ghcr.io/biomejs/biome:{major}.{minor}.{patch}
ghcr.io/biomejs/biome:1
ghcr.io/biomejs/biome:1.9
ghcr.io/biomejs/biome:1.9.4
ghcr.io/biomejs/biome:latest
The default working directory is set to /code
in the container.
# Check files
docker run -v $(pwd):/code ghcr.io/biomejs/biome:1.9.4 check
docker run -v $(pwd):/code ghcr.io/biomejs/biome:1.9.4 check --write
# Lint files
docker run -v $(pwd):/code ghcr.io/biomejs/biome:1.9.4 lint
docker run -v $(pwd):/code ghcr.io/biomejs/biome:1.9.4 lint --write
# Format files
docker run -v $(pwd):/code ghcr.io/biomejs/biome:1.9.4 format
docker run -v $(pwd):/code ghcr.io/biomejs/biome:1.9.4 format --write
This project is licensed under the MIT License.