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

Separte the image build #26

Open
choplin opened this issue Aug 25, 2023 · 0 comments
Open

Separte the image build #26

choplin opened this issue Aug 25, 2023 · 0 comments
Labels
deployment enhancement New feature or request

Comments

@choplin
Copy link
Collaborator

choplin commented Aug 25, 2023

Description

Currently, the image build of scalardb-analytics-postgresql does all of the process, including downloading dependent FDW libraries, building them, and building scalardb-analytics-postgrsql, within a single build stage.

However, we would normally need to build scalardb-analytics-postgrsql, but we don't need it for the dependencies since they are less frequently changed. It would be a waste of computing time to build all of the dependencies every time.

Planned action

  • Separate the image build process into two: building the dependencies and building the scalardb-analytics-postgresql
  • Publish the former image to our docker registry, and use it as a base image for the latter.
@choplin choplin added enhancement New feature or request deployment labels Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant