Skip to content

Dockerfile: Inline contents of unit-tests-image #5499

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robinjam
Copy link
Contributor

@robinjam robinjam commented Jun 5, 2025

Trello card

We want to migrate all of our images from GHCR to ECR, and as part of that we want to remove/retire any images that we no longer need (rather than migrating them to ECR and continuing to build/use them).

unit-tests-image is currently used as a base image for "frontend builds" of both admin & document-download-frontend. This is not ideal because (presumably) both apps have different dependency requirements, but by sharing the same base image they both have the union of each of their requirements, which is a waste of storage. (It's also just confusing)

This PR inlines the contents of unit-tests-image's Dockerfile into admin's.

We want to migrate all of our images from GHCR to ECR, and as part of
that we want to remove/retire any images that we no longer need (rather
than migrating them to ECR and continuing to build/use them).

unit-tests-image is currently used as a base image for both admin &
document-download-frontend. This is not ideal because (presumably) both
apps have different dependency requirements, but by sharing the same
base image they both have the union of each of their requirements, which
is a waste of storage.

This commit inlines the contents of unit-tests-image's Dockerfile into
admin's.
@robinjam robinjam changed the title Dockerfile: Inline contents of unit-tests-image Dockerfile: Inline contents of unit-tests-image Jun 5, 2025
Copy link
Contributor

@kr8n3r kr8n3r left a comment

Choose a reason for hiding this comment

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

this build in notifications-local just fine
can't speak about historical reasons behind sharing the unit-test-image across apps

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