Skip to content

chore: fix legacy ENV syntax in Dockerfile#3341

Open
Ignorancio wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
Ignorancio:chore/fix-docker-env-syntax
Open

chore: fix legacy ENV syntax in Dockerfile#3341
Ignorancio wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
Ignorancio:chore/fix-docker-env-syntax

Conversation

@Ignorancio
Copy link
Copy Markdown

Background

The Dockerfile for the shoppingassistantservice was using the legacy space-separated format for ENV instructions. This triggered a LegacyKeyValueFormat warning during the docker build process.

Fixes

  • Fixes build-time syntax warning LegacyKeyValueFormat in the shopping-assistant-service.

Change Summary

  • Updated ENV declarations in the service's Dockerfile to use the recommended key=value format.
  • Specifically addressed the warning at line 44 identified during the build process.

Additional Notes

This change is purely a syntax update to comply with modern Docker best practices. It does not alter the environment variable values or the service's runtime behavior.

Testing Procedure

  1. Execute the build command:
    cd src/shoppingassistantservice/
    docker build -t shopping-assistant-service:1.0.0 .

Update ENV instructions to use the key=value format to resolve LegacyKeyValueFormat warnings during buildx execution. This ensures compatibility with modern Docker build engines.
@Ignorancio Ignorancio requested review from a team and yoshi-approver as code owners May 3, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant