Skip to content

FDN-4939: Download environment-provider.jar in Dockerfile runtime stage#971

Merged
jackl merged 2 commits into
mainfrom
FDN-4939-download-environment-provider-in-dockerfile
May 20, 2026
Merged

FDN-4939: Download environment-provider.jar in Dockerfile runtime stage#971
jackl merged 2 commits into
mainfrom
FDN-4939-download-environment-provider-in-dockerfile

Conversation

@jackl
Copy link
Copy Markdown
Contributor

@jackl jackl commented May 20, 2026

Summary

  • FDN-4939
  • The environment-provider.jar was removed from the flowcommerce/play_builder_java17 image in flowcommerce/docker@458061b, breaking image builds that rely on it at runtime.
  • Both api/Dockerfile and app/Dockerfile now download the jar directly in the runtime stage, removing the dependency on the builder image bundling it.
  • test -s ensures a failed or empty download causes a hard build failure rather than a silent runtime crash.

Dependencies

None.

Validation

  • Docker build succeeds for both api and app images
  • Container starts and environment-provider.jar is present at /root/environment-provider.jar

Eng-Review Summary

  • Revision: a4f2fa3
  • Timestamp: 2026-05-20T00:00:00Z
  • Status: passed_with_notes
  • Issues:
    • Tag: CODE_QUALITY
      Title: Unversioned CDN URL — builds not pinned
      Resolution: justified
      Justification: Matches original upstream behaviour in flowcommerce/docker; always fetching latest environment-provider is intentional.
    • Tag: CODE_QUALITY
      Title: wget binary assumed present in base image
      Resolution: justified
      Justification: play_java17 is based on eclipse-temurin:17-jre-jammy (Ubuntu Jammy), which ships wget by default.

jackl and others added 2 commits May 20, 2026 13:01
The jar was removed from the play_builder_java17 image in flowcommerce/docker@458061b.
Download it directly in the runtime stage so deployments are not broken.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… file

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jackl jackl merged commit 286fd60 into main May 20, 2026
2 checks passed
@jackl jackl deleted the FDN-4939-download-environment-provider-in-dockerfile branch May 20, 2026 13:04
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