Skip to content

Docker stack improvements#90

Merged
danschmidt5189 merged 1 commit into
mainfrom
AP-799-3
Jul 17, 2026
Merged

Docker stack improvements#90
danschmidt5189 merged 1 commit into
mainfrom
AP-799-3

Conversation

@danschmidt5189

Copy link
Copy Markdown
Member
  • Corrects asset handling within the Dockerfile.
  • Commits yarn.lock and makes yarn builds immutable.
  • Adds a Compose "updater" service to handle bootstrapping.
  • Removes redundancies from the Dockerfile.

@danschmidt5189
danschmidt5189 requested a review from yzhoubk July 16, 2026 17:13
@danschmidt5189
danschmidt5189 force-pushed the AP-799-3 branch 5 times, most recently from 3458bbe to 9afca67 Compare July 16, 2026 18:20
@danschmidt5189
danschmidt5189 requested a review from awilfox July 16, 2026 18:23
@danschmidt5189
danschmidt5189 marked this pull request as ready for review July 16, 2026 18:41

@awilfox awilfox left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+. Thanks for fixing this (you may want to reference AP-779 instead of AP-799).

needs: docker-build
env:
COMPOSE_FILE: docker-compose.yml:docker-compose.ci.yml
COMPOSE_FILE: compose.yml:compose.ci.yml

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this something we are(/should be) doing in other repositories as well? Right now, this doesn't match any convention we have.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes but I'd say just on a "best effort" basis. It's Compose's new default but the old docker-compose.yml still works.

Comment thread Dockerfile
apt-get install -y --no-install-recommends \
bash \
curl \
default-jre-headless \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for including this from #86 :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was a good catch! 👏

- Yarn / Asset handling
  - Commits yarn.lock and makes installs immutable.
  - Installs yarn 1.22.22 specifically (instead of just "stable").
  - Removes redundant asset precompilation steps.
- Compose Improvements
  - Adds an "updater" service to handle bootstrapping.
  - Switches to preferred "compose.yml" naming convention.
- Misc.
  - Fixes zeitwork loading issue with GeoDataHealthCheck.
  - Adds smoke tests to the final Dockerfile stage.
@danschmidt5189

Copy link
Copy Markdown
Member Author

I've amended the commit title to reference AP-779. I'll merge once this goes green. Thanks for the review @awilfox!

@danschmidt5189
danschmidt5189 merged commit 65da9e6 into main Jul 17, 2026
5 checks passed
@danschmidt5189
danschmidt5189 deleted the AP-799-3 branch July 17, 2026 01:29
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.

2 participants