Skip to content

[Bug/Feature]: how to handle podman-compose's capitalization of environment variables?Β #96

@kengelhardt-godaddy

Description

@kengelhardt-godaddy

Use Case

podman-compose capitalizes environment variable values false and true (see containers/podman-compose#1022)

services:
  test:
    container_name: 'test-app'
    build:
      context: ./config
      args:
        test: true
% docker inspect test-app | grep TEST
                "TEST=true"
% podman inspect test-app | grep TEST
                    "TEST=True",

Describe the solution you would like

I would prefer checking for [Tt]rue and [Ff]alse.

Describe alternatives you've considered

There are two solutions:

  1. Quote environment variable values in compose.yaml. This would apply to (e.g.) files in https://github.com/voxpupuli/crafty

  2. Change container-entrypoint scripts to check for [Tt]rue and [Ff]alse. This would/should apply to all OpenVox containers.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions