Skip to content

service.dockerfile: move DB_SSL check to its own image#1888

Closed
alxndrsn wants to merge 1 commit into
getodk:nextfrom
alxndrsn:tune-check-for-build-arg
Closed

service.dockerfile: move DB_SSL check to its own image#1888
alxndrsn wants to merge 1 commit into
getodk:nextfrom
alxndrsn:tune-check-for-build-arg

Conversation

@alxndrsn
Copy link
Copy Markdown
Contributor

@alxndrsn alxndrsn commented May 8, 2026

This makes the env check independent of the pgdg container. Logically there's no connection between the check for DB_SSL (which relates to postgres configuration) and the pgdg container (which is specifically making postgres apt repositories available to the final container).

This also means that the DB_SSL check will run faster, and when appropriate, fail faster.

What has been done to verify that this works as intended?

Why is this the best possible solution? Were any other approaches considered?

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Does this change require updates to documentation? If so, please file an issue here and include the link below.

Before submitting this PR, please make sure you have:

  • branched off and targeted the next branch OR only changed documentation/infrastructure (master is stable and used in production)
  • verified that any code or assets from external sources are properly credited in comments or that everything is internally sourced

This makes the env check independent of the pgdg container.  Logically
there's no connection between the check for DB_SSL (which relates to
postgres configuration) and the pgdg container (which is specifically
making postgres apt repositories available to the final container).

This also means that the DB_SSL check will run faster, and when
appropriate, fail faster.
@alxndrsn alxndrsn closed this May 8, 2026
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