Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git
container/README.md
This document describes how to maintain the containerized typesetting system.
-Broadly, the container is built locally then deployed to a web server capable
-of serving static web pages.
+The container is built locally then deployed to a web server capable of
+serving static web pages.
## Installation wizard
The installation wizard is responsible for installing the containerization
software and the container image. The container manager class loads the
image from a URL. That URL is defined in the `messages.properties` file.
# Upgrade
-Upgrade the containerization software as follows:
+Upgrade the containerization software (e.g., podman or docker) as follows:
+
+1. Download the latest container version.
+
+ wget -q $(\
+ wget \
+ -q -O- \
+ https://api.github.com/repos/containers/podman/releases/latest | \
+ jq \
+ -r '.assets[] | select(.name | contains("exe")) | .browser_download_url')
+
+1. Compute the SHA:
+
+ sha256sum *exe | cut -f1 -d' '
1. Edit `src/main/resources/com/keenwrite/messages.properties`.
1. Set `Wizard.typesetter.container.version` to the latest version.
1. Set `Wizard.typesetter.container.checksum` to the Windows version checksum.
1. Set `Wizard.typesetter.container.image.version` to the latest image version.
1. Save the file.
-The containerization software versions are changed.
+The containerization software version is changed.
# Publish
src/main/resources/com/keenwrite/messages.properties
Wizard.typesetter.name=ConTeXt
Wizard.typesetter.container.name=Podman
-Wizard.typesetter.container.version=4.6.2
-Wizard.typesetter.container.checksum=a51acef00b17cce83dd4d364817af32dd5e541db8d2d13063ae73742744ba3ad
+Wizard.typesetter.container.version=4.8.2
+Wizard.typesetter.container.checksum=250b12c24444005e09306eda38fa63c60cb1bdadf040f4e3f24f976e213cd462
Wizard.typesetter.container.image.name=typesetter
Wizard.typesetter.container.image.version=3.0.1

Updates container upgrade docs, upgrades container to 4.8.2

Author DaveJarvis <email>
Date 2023-12-15 09:36:00 GMT-0800
Commit 05c334d69ecda8e63223f0ade7b71603b1693b67
Parent 8136753
Delta 19 lines added, 6 lines removed, 13-line increase