Skip to content
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

Removed docker CI actions & reduced installation duplication in dockerfiles #42

Merged
merged 3 commits into from
Jan 31, 2024

Conversation

dmccoystephenson
Copy link
Member

@dmccoystephenson dmccoystephenson commented Jan 31, 2024

Problem

Dan has requested (on usdot-jpo-ode#37) that we remove a couple of docker CI actions & was wondering whether we could copy packages from the builder to the runtime image to avoid duplicating package installation.

Solution

The docker setup & build/push actions have been removed from the ci.yml file.

Additionally, the dockerfiles have been modified to first define an image with runtime dependencies, which is used as the base image for the builder & runtime images.

Testing

  • The program has been spun up using docker-compose successfully. The --build flag was used to ensure the new dockerfile contents were used.
  • The do_kafka_test.sh script executed successfully.

@dmccoystephenson dmccoystephenson marked this pull request as ready for review January 31, 2024 22:01
Copy link

@payneBrandon payneBrandon left a comment

Choose a reason for hiding this comment

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

lgtm!

Copy link

@drewjj drewjj left a comment

Choose a reason for hiding this comment

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

Looks good

@drewjj drewjj merged commit e5e1294 into develop Jan 31, 2024
3 checks passed
@drewjj drewjj deleted the ci-and-dockerfile-changes branch January 31, 2024 22:29
dmccoystephenson pushed a commit that referenced this pull request Oct 8, 2024
Merge Release/2024 q3 into master branch
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.

3 participants