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

[BUG] - Review and improve docker images #599

Closed
pavithraes opened this issue Sep 27, 2023 · 4 comments
Closed

[BUG] - Review and improve docker images #599

pavithraes opened this issue Sep 27, 2023 · 4 comments
Assignees
Labels
area: user experience 👩🏻‍💻 Items impacting the end-user experience impact: high 🟥 This issue affects most of the conda-store users or is a critical issue type: bug 🐛 Something isn't working

Comments

@pavithraes
Copy link
Member

pavithraes commented Sep 27, 2023

Describe the bug

Currently, we have 2 Dockerfiles used to build images:

These are used by the docker-compose.yaml in:

  • the root dir, used by developers for local development
  • the examples dir intended for end-users --❗️we should use released versions from PyPI or conda-forge here, or refer to the docker images built on releases

☝🏽Additionally, the port number 5000, where the UI is deployed for development does not work reliably on MacOS. We need to pick default ports that work on all platforms.

Expected behavior

We need to have separate images for building dev and stable versions of conda-store. The releases should use to stable versions.

Anything else?

xref: conda-incubator/conda-store-ui#335, #566

@pavithraes pavithraes added the type: bug 🐛 Something isn't working label Sep 27, 2023
@pavithraes pavithraes added impact: high 🟥 This issue affects most of the conda-store users or is a critical issue area: user experience 👩🏻‍💻 Items impacting the end-user experience labels Sep 27, 2023
@pavithraes
Copy link
Member Author

I think we can use the docker-compose.yaml in conda-store-ui, as is and as a ref, for the examples directory.

@dcmcand
Copy link
Contributor

dcmcand commented Oct 12, 2023

To summarize:

  1. conda-store should have a dev target and a release target for the Dockerfile. Dev target should install dependencies in editable mode, release target should not. ([BUG] - conda-store image needs a release target and dev target in the Dockerfile #614 )
  2. examples/docker/docker-compose.yaml should use a dockerhub image rather than building from source ([BUG] - examples/docker/docker-compose.yaml builds from source #616 ).
  3. examples/docker/docker-compose.yaml has redis defined twice ([BUG] - examples/docker/docker-compose.yaml has redis defined twice #617).
  4. examples/docker-without-nfs/docker-compose.yaml should use a dockerhub image rather than building from source ([BUG] - examples/docker/docker-compose.yaml builds from source #616 ) .
  5. default port of 5000 is problematic and should be changed ([BUG] - port 5000 is a problem on MacOS #618 ).

Did I miss anything @pavithraes?

@kcpevey
Copy link
Contributor

kcpevey commented Oct 24, 2023

@dcmcand it looks like the review is complete and all of the issues have been opened as separate issues. Can we close this in favor or the individual issues?

@dcmcand
Copy link
Contributor

dcmcand commented Oct 24, 2023

Yes @kcpevey, we can close this one. The only outstanding issue is #618. That should be a pretty easy one.

@dcmcand dcmcand closed this as completed Oct 24, 2023
@github-project-automation github-project-automation bot moved this from In Progress 🏗 to Done 💪🏾 in conda-store 🐍 Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: user experience 👩🏻‍💻 Items impacting the end-user experience impact: high 🟥 This issue affects most of the conda-store users or is a critical issue type: bug 🐛 Something isn't working
Projects
Archived in project
Development

No branches or pull requests

4 participants