Sign inSign up

theohbrothers/docker-pagefind

By theohbrothers

•Updated 6 months ago

Dockerized pagefind 🐳

Image
0

9.6K

theohbrothers/docker-pagefind repository overview

⁠docker-pagefind

github-actions github-release docker-image-size

Dockerized pagefind⁠.

⁠Tags

TagDockerfile Build Context
:1.5.2, :latestView⁠
:1.4.0View⁠
:1.3.0View⁠
:1.2.0View⁠
:1.1.1View⁠
:1.0.4View⁠

⁠Usage

Mount the public directory into the container at /public.

docker run --rm -it -v $(pwd)/public:/public theohbrothers/docker-pagefind:1.5.2

⁠Development

Requires Windows powershell or pwsh⁠.

# Install Generate-DockerImageVariants module: https://github.com/theohbrothers/Generate-DockerImageVariants
Install-Module -Name Generate-DockerImageVariants -Repository PSGallery -Scope CurrentUser -Force -Verbose

# Edit ./generate templates

# Generate the variants
Generate-DockerImageVariants .
⁠Variant versions

versions.json⁠ contains a list of Semver⁠ versions, one per line.

To update versions in versions.json:

./Update-Versions.ps1

To update versions in versions.json, and open a PR for each changed version, and merge successful PRs one after another (to prevent merge conflicts), and finally create a tagged release and close milestone:

$env:GITHUB_TOKEN = 'xxx'
./Update-Versions.ps1 -PR -AutoMergeQueue -AutoRelease

To perform a dry run, use -WhatIf.

Tag summary

Content type

Image

Digest

sha256:60b7d6d38…

Size

53.7 MB

Last updated

6 months ago

docker pull theohbrothers/docker-pagefind