Skip to content

feat: added support for Podman as container engine#96

Open
Linsner wants to merge 1 commit into
keymanapp:mainfrom
Linsner:main
Open

feat: added support for Podman as container engine#96
Linsner wants to merge 1 commit into
keymanapp:mainfrom
Linsner:main

Conversation

@Linsner

@Linsner Linsner commented Jun 6, 2026

Copy link
Copy Markdown

No description provided.

@keymanapp-test-bot

keymanapp-test-bot Bot commented Jun 6, 2026

Copy link
Copy Markdown

User Test Results

Test specification and instructions

User tests are not required

@keymanapp-test-bot keymanapp-test-bot Bot added this to the A19S30 milestone Jun 6, 2026
@keyman-server keyman-server modified the milestones: A19S30, A19S31 Jun 8, 2026

@mcdurdin mcdurdin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks clean and straightforward, just rename BUILDER_ENGINE to CONTAINER_ENGINE please for clarity

Comment thread _common/docker.inc.sh
local BUILDER_CONFIGURATION="release"
local FILE=
local TARGET=.
echo $CONTAINER_ENGINE

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have CONTAINER_ENGINE here but BUILDER_ENGINE elsewhere.

Do we need to echo this here?

Suggested change
echo $CONTAINER_ENGINE

(I prefer CONTAINER_ENGINE -- it's clearer)

Comment thread _common/docker.inc.sh
fi
if [[ $# -ge 4 ]]; then
TARGET="-f $4 ."
FILE="-f $4 "

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may need additional tweaks later for api.keyman.com which has two Dockerfiles (one for db, one for site).

Comment thread _common/docker.inc.sh
Comment on lines +65 to +68
elif [[ "${CONTAINER_ENGINE}" == "docker" ]]; then
FILE="-f Dockerfile "
elif [[ "${CONTAINER_ENGINE}" == "podman" ]]; then
FILE="-f Podmanfile "

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these really needed? Won't podman use Podmanfile by default just as docker uses Dockerfile by default?

@mcdurdin

mcdurdin commented Jun 8, 2026

Copy link
Copy Markdown
Member

Test-bot: skip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants