Skip to content

Question about ENV #221

@ovh7

Description

@ovh7

Hi,

I got the following warning mendix-rootfs:app

2 warnings found (use docker --debug to expand):

  • LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 9)
  • LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 10)

I get the following warning mendix-rootfs:builder

5 warnings found (use docker --debug to expand):

  • LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 9)
  • LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 10)
  • LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 45)
  • UndefinedVar: Usage of undefined variable '$PYTHONPATH' (line 76)
  • LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 76)

Do I need to change

ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8

To

ENV key="LANG C.UTF-8"
ENV key="LC_ALL C.UTF-8"

What about this line

  • UndefinedVar: Usage of undefined variable '$PYTHONPATH' (line 76)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions